diff options
| author | mryouse | 2022-07-08 01:35:20 +0000 |
|---|---|---|
| committer | mryouse | 2022-07-08 01:35:20 +0000 |
| commit | 0df15c8bfb7ea73eff0040f5e3181eb328065824 (patch) | |
| tree | cb59c2ad755f3930b1d4b491ebcc1ffc33ff3738 /tests | |
| parent | e2c7c060c370b6c9137f41e69ce44481afbcf89d (diff) | |
make the test runner look a bit nicer
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/runner.bash | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.bash b/tests/runner.bash index 32af554..20634dd 100755 --- a/tests/runner.bash +++ b/tests/runner.bash @@ -6,9 +6,10 @@ do expected=$(tail -1 $item | sed 's/; //') actual=$(python3 ../neb.py $item) if [[ "$expected" == "$actual" ]]; then + echo -n "." ((passed=passed+1)) else - echo "$item... FAILED" + echo "$item FAILED" echo " Expected: $expected" echo " Actual: $actual" echo "" @@ -18,5 +19,6 @@ done pct=$(python -c "print('{:.2f}'.format($passed / float($total) * 100))") +echo "" echo "Total: $total" echo "Passed: $passed ($pct%)" |
