summaryrefslogtreecommitdiff
path: root/test/RegressTests.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-01 17:32:51 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-01 17:32:51 -0600
commitf6c087cfe48e6410db61a9367ce7c718a490af77 (patch)
treea2130aa5b47c3dd17ab698db9374343915193579 /test/RegressTests.py
parentff89cb9c4de8240d7a7f79406755a86d8d2d5f18 (diff)
downloadfork-ledger-f6c087cfe48e6410db61a9367ce7c718a490af77.tar.gz
fork-ledger-f6c087cfe48e6410db61a9367ce7c718a490af77.tar.bz2
fork-ledger-f6c087cfe48e6410db61a9367ce7c718a490af77.zip
Added a new 'python' directive
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-xtest/RegressTests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/RegressTests.py b/test/RegressTests.py
index 28a6c709..def202e4 100755
--- a/test/RegressTests.py
+++ b/test/RegressTests.py
@@ -179,7 +179,9 @@ if __name__ == '__main__':
if os.path.isdir(tests):
tests = [os.path.join(tests, x)
- for x in os.listdir(tests) if x.endswith('.test')]
+ for x in os.listdir(tests)
+ if (x.endswith('.test') and
+ (not '_py.test' in x or harness.python))]
if pool:
pool.map(do_test, tests, 1)
else: