aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/agl_test_ptest_base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/agl_test_ptest_base.py b/plugins/agl_test_ptest_base.py
index 2bbe6e0..89eb554 100644
--- a/plugins/agl_test_ptest_base.py
+++ b/plugins/agl_test_ptest_base.py
@@ -44,3 +44,8 @@ class PTESTBase(AGLBaseTest):
check_test_script = test_script.is_file()
return check_common and check_ptest_cmd and check_test_script
+
+ def run_ptest(self):
+ if(self.precheck() == True):
+ self.run_test_fun()
+ self.log_process()