diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-01 17:32:51 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-01 17:32:51 -0600 |
commit | f6c087cfe48e6410db61a9367ce7c718a490af77 (patch) | |
tree | a2130aa5b47c3dd17ab698db9374343915193579 /test/LedgerHarness.py | |
parent | ff89cb9c4de8240d7a7f79406755a86d8d2d5f18 (diff) | |
download | fork-ledger-f6c087cfe48e6410db61a9367ce7c718a490af77.tar.gz fork-ledger-f6c087cfe48e6410db61a9367ce7c718a490af77.tar.bz2 fork-ledger-f6c087cfe48e6410db61a9367ce7c718a490af77.zip |
Added a new 'python' directive
Diffstat (limited to 'test/LedgerHarness.py')
-rwxr-xr-x | test/LedgerHarness.py | 4 |
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() |