diff options
Diffstat (limited to 'tests/crashme')
-rw-r--r-- | tests/crashme/run_tests.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/crashme/run_tests.py b/tests/crashme/run_tests.py index ccb4775..bedd0e4 100644 --- a/tests/crashme/run_tests.py +++ b/tests/crashme/run_tests.py @@ -105,6 +105,9 @@ def testbase(): #run test scripts instance.run_test_fun() + #write test suite info to file + instance.write_run_info() + yield instance #package log files and make report file @@ -112,7 +115,11 @@ def testbase(): def precheck(): instance = CrashmeBase() - return instance.precheck() + output = instance.precheck() + if(output == False): + #write test suite info to file + instance.write_skip_info() + return output skip_msg = "The current environment does not match the test requirements." pytestmark = pytest.mark.skipif(precheck() == False, reason = skip_msg) |