summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-15 01:17:01 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-15 01:17:01 -0500
commitee641f353c9a2216533800464d26afe86f1b028e (patch)
tree2f7b290d5e6ea5c395ff294d4c911a4f942fe6f6 /test
parent1ad826c2bccabad844156a181735dd960f87d174 (diff)
downloadfork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.tar.gz
fork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.tar.bz2
fork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.zip
Resolve some issues with proof builds
Diffstat (limited to 'test')
-rwxr-xr-xtest/LedgerHarness.py4
-rwxr-xr-xtest/RegressTests.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/test/LedgerHarness.py b/test/LedgerHarness.py
index 3477e720..3e797e85 100755
--- a/test/LedgerHarness.py
+++ b/test/LedgerHarness.py
@@ -44,8 +44,8 @@ class LedgerHarness:
print "Cannot find source path at '%s'" % argv[2]
sys.exit(1)
- self.ledger = argv[1]
- self.sourcepath = argv[2]
+ self.ledger = os.path.abspath(argv[1])
+ self.sourcepath = os.path.abspath(argv[2])
self.succeeded = 0
self.failed = 0
self.verify = '--verify' in argv
diff --git a/test/RegressTests.py b/test/RegressTests.py
index a7d51ada..792c2d3e 100755
--- a/test/RegressTests.py
+++ b/test/RegressTests.py
@@ -184,7 +184,8 @@ if __name__ == '__main__':
tests = [os.path.join(tests, x)
for x in os.listdir(tests)
if (x.endswith('.test') and
- (not '_py.test' in x or harness.python))]
+ (not '_py.test' in x or (harness.python and
+ not harness.verify)))]
if pool:
pool.map(do_test, tests, 1)
else: