better output
This commit is contained in:
parent
667da043e3
commit
d221678399
1 changed files with 2 additions and 1 deletions
|
@ -9,10 +9,11 @@ while read -r instance opt; do
|
|||
if [ "$result" -eq "$opt" ];
|
||||
then
|
||||
SUCC+=("$instance: $opt")
|
||||
echo "$instance passed"
|
||||
else
|
||||
FAILED+=("$instance: $result/$opt")
|
||||
echo "$instance failed: $result/$opt"
|
||||
fi
|
||||
echo "$instance $result/$opt"
|
||||
done < tests.txt
|
||||
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue