diff --git a/src/core/testcase/testcase_manager.py b/src/core/testcase/testcase_manager.py index f02b096cad50ebe39bd3c56f6938295e16eb9015..986b182ecd8393169e36d9d66fc06081c95c180a 100644 --- a/src/core/testcase/testcase_manager.py +++ b/src/core/testcase/testcase_manager.py @@ -78,10 +78,12 @@ class TestCaseManager(object): else: for partname in partlist: if testmodule != "": - if suitfile_subpath.startswith( - partname + os.sep + testmodule + os.sep): - is_valid_status = True - break + module_list = testmodule.split(",") + for module in module_list: + if suitfile_subpath.startswith( + partname + os.sep + module + os.sep): + is_valid_status = True + break else: if suitfile_subpath.startswith(partname + os.sep): is_valid_status = True