summaryrefslogtreecommitdiff
path: root/test/LedgerHarness.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/LedgerHarness.py')
-rwxr-xr-xtest/LedgerHarness.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/LedgerHarness.py b/test/LedgerHarness.py
index c0dbe368..7b4dfa83 100755
--- a/test/LedgerHarness.py
+++ b/test/LedgerHarness.py
@@ -34,6 +34,7 @@ class LedgerHarness:
failed = 0
verify = False
gmalloc = False
+ python = False
def __init__(self, argv):
if not os.path.isfile(argv[1]):
@@ -49,6 +50,9 @@ class LedgerHarness:
self.failed = 0
self.verify = '--verify' in argv
self.gmalloc = '--gmalloc' in argv
+ self.python = '--python' in argv
+
+ os.chdir(self.sourcepath)
def run(self, command, verify=None, gmalloc=None, columns=True):
env = os.environ.copy()