summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-21 04:12:52 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-21 04:12:52 -0400
commit014a4bdbf3f927a92e4c3e7a9c15814aa2f64c7c (patch)
treeac215e921df5ded84f1c1ee726b2bb3cdd552720 /test
parent6548da04cdde83998ec380a1b47117b45b0d65f8 (diff)
downloadfork-ledger-014a4bdbf3f927a92e4c3e7a9c15814aa2f64c7c.tar.gz
fork-ledger-014a4bdbf3f927a92e4c3e7a9c15814aa2f64c7c.tar.bz2
fork-ledger-014a4bdbf3f927a92e4c3e7a9c15814aa2f64c7c.zip
Run regression and baseline tests using --verify
Diffstat (limited to 'test')
-rwxr-xr-xtest/regress.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/regress.py b/test/regress.py
index 745c9d5f..33efb06b 100755
--- a/test/regress.py
+++ b/test/regress.py
@@ -41,9 +41,10 @@ def test_regression(test_file):
use_stdin = True
if re.search('--columns', command):
- command = ("%s" % ledger) + " --args-only " + command
+ command = ("%s" % ledger) + " --verify --args-only " + command
else:
- command = ("%s" % ledger) + " --args-only --columns=80 " + command
+ command = (("%s" % ledger) +
+ " --verify --args-only --columns=80 " + command)
else:
tempdata = tempfile.mkstemp()
@@ -52,10 +53,10 @@ def test_regression(test_file):
if re.search('--columns', command):
command = (("%s -f \"%s\" " % (ledger, tempdata[1])) +
- " --args-only " + command)
+ " --verify --args-only " + command)
else:
command = (("%s -f \"%s\" " % (ledger, tempdata[1])) +
- " --args-only --columns=80 " + command)
+ " --verify --args-only --columns=80 " + command)
output = []
while line != ">>>2\n":