Added a test harness error diagnostic
This commit is contained in:
parent
5c57eff64a
commit
1809e63fb0
2 changed files with 4 additions and 0 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue