Conditonally output stderr
This commit is contained in:
parent
51267c3526
commit
2961bdc604
|
@ -17,5 +17,5 @@ do
|
||||||
|
|
||||||
echo "==$test_file: $language-$lang_ver=="
|
echo "==$test_file: $language-$lang_ver=="
|
||||||
#jq '.' <<<"$result"
|
#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
|
done
|
||||||
|
|
Loading…
Reference in New Issue