From 8da55a2542287b0f46dc2a44cf2a2ca324ba3dae Mon Sep 17 00:00:00 2001 From: dengbin Date: Fri, 24 Jun 2022 17:34:49 +0800 Subject: [PATCH] modify run.py Signed-off-by: dengbin --- src/core/command/run.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/core/command/run.py b/src/core/command/run.py index 640fa31..81c6582 100755 --- a/src/core/command/run.py +++ b/src/core/command/run.py @@ -82,15 +82,16 @@ class Run(object): return - test_case_path = self.get_tests_out_path(options.productform) - if not os.path.exists(test_case_path): - LOG.error("%s is not exist." % test_case_path) - return + # test_case_path = self.get_tests_out_path(options.productform) + # if not os.path.exists(test_case_path): + # LOG.error("%s is not exist." % test_case_path) + # return if "actstest" in options.testtype: test_dict = self.get_acts_test_dict(options) else: - test_dict = TestCaseManager().get_test_files(test_case_path, options) + test_dict = self.get_test_dict(options) + # test_dict = TestCaseManager().get_test_files(test_case_path, options) if not self._check_test_dictionary(test_dict): LOG.error("The test file list is empty.") return -- GitLab