diff options
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%)" |
