aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormryouse2022-07-09 02:39:27 +0000
committermryouse2022-07-09 02:39:27 +0000
commit4038aa87fddbe7e79c61603cf8d4514ebb47f3fe (patch)
tree8f5493f5fb8d9f9ea1de4cd1ade03b7d6c9447d9 /tests
parent7ffeef0faef3fbc389069df853109afc76260f0d (diff)
parent4fb8873f45c8596ba044c87060191778b8238952 (diff)
Merge branch 'master' into feature/listtypes
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.bash4
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%)"