summaryrefslogtreecommitdiff
path: root/tests/test_cmdline_tool.py
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-04-05 04:11:48 (GMT)
committerMarius Kintel <marius@kintel.net>2013-04-05 04:11:48 (GMT)
commit7b5cd11cdc923921cfae5b40fca5850fbd92de40 (patch)
tree29e596958ef0b33b2a212577fc52579dc54e258a /tests/test_cmdline_tool.py
parentc7f83aa3e35baf8a517c40a367ec247a7061b225 (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-xtests/test_cmdline_tool.py3
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)
contact: Jan Huwald // Impressum