Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
wip-nofib minor fix in nofib/stdoutdiff.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gkaracha committed May 20, 2020
1 parent 10c5ac6 commit 28e58a4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions asterius/nofib/stdoutdiff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@ for f in ./*/*/*.ghc.stdout; do
fi
fi

testfolder=${testname%/*}

# Print results
if [[ "$stdout_ok" == "missing" || "$stderr_ok" == "missing" ]]; then
echo "${testname} ( MISSING )"
echo "${testfolder} ( MISSING )"
elif [[ "$stdout_ok" == "true" && "$stderr_ok" == "true" ]]; then
echo "${testname} ( OK )"
echo "${testfolder} ( OK )"
elif [[ "$stderr_ok" == "false" ]]; then
echo "${testname} ( STDERR MISMATCH )"
echo "${testfolder} ( STDERR MISMATCH )"
elif [[ "$stdout_ok" == "false" ]]; then
echo "${testname} ( STDOUT MISMATCH )"
echo "${testfolder} ( STDOUT MISMATCH )"
fi

done
Expand Down

0 comments on commit 28e58a4

Please sign in to comment.