summaryrefslogtreecommitdiff
path: root/test/ConfirmTests.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-30 04:49:45 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-30 04:49:45 -0500
commit1809e63fb0e6f7e64d7c2af73e41a24225809ea2 (patch)
tree181935c7e8a80c5a3e2cde3cdb202526dfbc3047 /test/ConfirmTests.py
parent5c57eff64a0f6378c7be81369afb831769529a79 (diff)
downloadfork-ledger-1809e63fb0e6f7e64d7c2af73e41a24225809ea2.tar.gz
fork-ledger-1809e63fb0e6f7e64d7c2af73e41a24225809ea2.tar.bz2
fork-ledger-1809e63fb0e6f7e64d7c2af73e41a24225809ea2.zip
Added a test harness error diagnostic
Diffstat (limited to 'test/ConfirmTests.py')
-rwxr-xr-xtest/ConfirmTests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ConfirmTests.py b/test/ConfirmTests.py
index 6fc04336..dffa74a6 100755
--- a/test/ConfirmTests.py
+++ b/test/ConfirmTests.py
@@ -13,6 +13,8 @@ harness = LedgerHarness(sys.argv)
tests = sys.argv[3]
if not os.path.isdir(tests) and not os.path.isfile(tests):
+ sys.stderr.write("'%s' is not a directory or file (cwd %s)" %
+ (tests, os.getcwd()))
sys.exit(1)
commands = [