aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/agl_test_ptest_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/agl_test_ptest_base.py')
-rw-r--r--plugins/agl_test_ptest_base.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/agl_test_ptest_base.py b/plugins/agl_test_ptest_base.py
index 4e261bc..16d4938 100644
--- a/plugins/agl_test_ptest_base.py
+++ b/plugins/agl_test_ptest_base.py
@@ -44,9 +44,15 @@ class PTESTBase(AGLBaseTest):
test_script = pathlib.Path("/usr/lib/" + super().get_name() + "/ptest/run-ptest")
check_test_script = test_script.is_file()
+ if((check_common and check_ptest_cmd and check_test_script) == False):
+ #write test suite info to file
+ self.write_skip_info()
+
return check_common and check_ptest_cmd and check_test_script
def run_ptest(self):
if(self.precheck() == True):
self.run_test_fun()
+ #write test suite info to file
+ self.write_run_info()
self.log_process()