newlines on stderr

Joost's Avatar

Joost

04 Jun, 2018 12:33 PM

Hi,

our project is, since a couple of weeks, experiences problems that seem to originate from 'random' newlines in output written to stderr. An example of this is :

https://ci.appveyor.com/project/mcostalba/stockfish/build/1.0.1778/job/04pjuwtnj8cx4hnu#L1231

these newlines can appear even in the middle of number, and disrupt tests such as
./stockfish bench 2> out.txt
grep "foo 123" out.txt

As far as we know, this only happens in the appveyor environment. Is there any reason/workaround for this ?

Thanks!

  1. Support Staff 1 Posted by Owen McDonnell on 04 Jun, 2018 06:56 PM

    Owen McDonnell's Avatar

    Not sure i can say the reason for the strange output when run from powershell but its probably more predictable if you use cmd to generate the out.txt file by running

    - stockfish bench 2> out.txt
    
    after cd src/%CONFIGURATION%
  2. 2 Posted by Joost VandeVond... on 05 Jun, 2018 02:59 PM

    Joost VandeVondele's Avatar

    Great...Works!

    Owen McDonnell <[email blocked]> schrieb am Mo., 4. Juni
    2018, 20:56:

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:47 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac