From 7b5cd11cdc923921cfae5b40fca5850fbd92de40 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Fri, 5 Apr 2013 00:11:48 -0400 Subject: bugfix: If the test driver returned an error, it was ignored by the test script 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) -- cgit v0.10.1