aboutsummaryrefslogtreecommitdiffstats
path: root/tests/linus_stress/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/linus_stress/run_tests.py')
-rw-r--r--tests/linus_stress/run_tests.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/linus_stress/run_tests.py b/tests/linus_stress/run_tests.py
index df3157b..22e67e8 100644
--- a/tests/linus_stress/run_tests.py
+++ b/tests/linus_stress/run_tests.py
@@ -43,12 +43,19 @@ def testbase():
def precheck():
instance = LinusStressBase()
- 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)
def test_linus_stress(testbase: LinusStressBase):
testbase.run_test_fun()
+ #write test suite info to file
+ testbase.write_run_info()
assert testbase.case_info_list['test_linus_stress'][2] == 'passed'
if __name__ == '__main__':