diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-09 03:57:30 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-09 03:57:30 -0600 |
commit | c813eafbd8aaad5d66c3eb8857393c9fa1c98db6 (patch) | |
tree | e49f0f424f8582c5405dc078ccf3587e82ba58eb /test/RegressTests.py | |
parent | 59f5ebe2dfe7cc93e36377f0251691e4de7b83b4 (diff) | |
download | fork-ledger-c813eafbd8aaad5d66c3eb8857393c9fa1c98db6.tar.gz fork-ledger-c813eafbd8aaad5d66c3eb8857393c9fa1c98db6.tar.bz2 fork-ledger-c813eafbd8aaad5d66c3eb8857393c9fa1c98db6.zip |
Display file name when a regression test fails
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-x | test/RegressTests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/RegressTests.py b/test/RegressTests.py index def202e4..da5d92ca 100755 --- a/test/RegressTests.py +++ b/test/RegressTests.py @@ -148,14 +148,14 @@ class RegressFile(object): if success: harness.success() else: - harness.failure() + harness.failure(os.path.basename(self.filename)) else: if success: print if test['exitcode']: self.notify_user("FAILURE in exit code (%d != %d) from %s:" % (test['exitcode'], p.returncode, self.filename), test) - harness.failure() + harness.failure(os.path.basename(self.filename)) def run_tests(self): test = self.read_test() |