mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
Conditonally output stderr
This commit is contained in:
parent
51267c3526
commit
2961bdc604
1 changed files with 1 additions and 1 deletions
|
@ -17,5 +17,5 @@ do
|
|||
|
||||
echo "==$test_file: $language-$lang_ver=="
|
||||
#jq '.' <<<"$result"
|
||||
jq -r '.compile.output + .run.output' <<<$result
|
||||
jq -r 'if (.run.stdout | contains("OK") ) then (.run.stdout) else (.compile.output + .run.output) end' <<<$result
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue