diff options
author | Marius Kintel <marius@kintel.net> | 2013-04-05 04:11:48 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-04-05 04:11:48 (GMT) |
commit | 7b5cd11cdc923921cfae5b40fca5850fbd92de40 (patch) | |
tree | 29e596958ef0b33b2a212577fc52579dc54e258a /tests/test_cmdline_tool.py | |
parent | c7f83aa3e35baf8a517c40a367ec247a7061b225 (diff) |
bugfix: If the test driver returned an error, it was ignored by the test script
Diffstat (limited to 'tests/test_cmdline_tool.py')
-rwxr-xr-x | tests/test_cmdline_tool.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_cmdline_tool.py b/tests/test_cmdline_tool.py index eb01abd..470be1e 100755 --- a/tests/test_cmdline_tool.py +++ b/tests/test_cmdline_tool.py @@ -256,5 +256,6 @@ if __name__ == '__main__': verification = verify_test(options.testname, options.cmd) resultfile = run_test(options.testname, options.cmd, args[1:]) - + if not resultfile: exit(1) + if not verification or not compare_with_expected(resultfile): exit(1) |