summaryrefslogtreecommitdiff
path: root/tools/regtest
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regtest')
-rwxr-xr-xtools/regtest27
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/regtest b/tools/regtest
new file mode 100755
index 00000000..6a59c39f
--- /dev/null
+++ b/tools/regtest
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+errors=0
+
+if [ ! -f tools/standard.dat ]; then
+ exit 0
+fi
+
+for test in \
+ "-O nrl:checking" \
+ "-O ^expenses" \
+ "-B 401" \
+ "-V 401" \
+ "-G 401" \
+ "-B ira" \
+ "-V ira" \
+ "-G ira" \
+ "-B retire" \
+ "-V retire" \
+ "-G retire"
+do
+ echo testing: $test
+ python tests/confirm.py $test
+ errors=`expr $errors + $?`
+done
+
+exit $errors