summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/ConfirmTests.py2
-rwxr-xr-xtest/RegressTests.py2
2 files changed, 4 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 = [
diff --git a/test/RegressTests.py b/test/RegressTests.py
index 72667311..a7d51ada 100755
--- a/test/RegressTests.py
+++ b/test/RegressTests.py
@@ -31,6 +31,8 @@ harness = LedgerHarness(args)
tests = args[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)
class RegressFile(object):