before_test:
- cd src/%CONFIGURATION%
+ - stockfish bench 2> out.txt >NUL
- ps: |
# Verify bench number
- ./stockfish bench 2> out.txt 1> null
$s = (gc "./out.txt" | out-string)
$r = ($s -match 'Nodes searched \D+(\d+)' | % { $matches[1] })
Write-Host "Engine bench:" $r