summaryrefslogtreecommitdiff
path: root/tools/regtest
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regtest')
-rwxr-xr-xtools/regtest29
1 files changed, 12 insertions, 17 deletions
diff --git a/tools/regtest b/tools/regtest
index 6a59c39f..7d28dae7 100755
--- a/tools/regtest
+++ b/tools/regtest
@@ -2,26 +2,21 @@
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"
+for test in \
+ "-O \$cmd 0ecbb1b15e2cf3e515cc0f8533e5bb0fb2326728" \
+ "-B \$cmd c56a21d23a6535184e7152ee138c28974f14280c" \
+ "-V \$cmd c56a21d23a6535184e7152ee138c28974f14280c" \
+ "-G \$cmd c56a21d23a6535184e7152ee138c28974f14280c" \
+ "-B \$cmd c0226fafdf9e6711ac9121cf263e2d50791859cb" \
+ "-V \$cmd c0226fafdf9e6711ac9121cf263e2d50791859cb" \
+ "-G \$cmd c0226fafdf9e6711ac9121cf263e2d50791859cb"
do
echo testing: $test
- python tests/confirm.py $test
+ python tools/confirm.py "ledger -f tools/standard.dat $test"
errors=`expr $errors + $?`
done
+if [ $errors = 0 ]; then
+ echo All tests completed successfully.
+fi
exit $errors