From 1809e63fb0e6f7e64d7c2af73e41a24225809ea2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 30 Mar 2012 04:49:45 -0500 Subject: Added a test harness error diagnostic --- test/ConfirmTests.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ConfirmTests.py') 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 = [ -- cgit v1.2.3