From 0cb83eecf05a4ee11f812446fdfe95a51d20622d Mon Sep 17 00:00:00 2001 From: XiaGuochao Date: Thu, 7 May 2020 10:46:20 +0800 Subject: [PATCH] Remove execution parallelism restrictions on Windows platforms --- test/maple_test/task.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/maple_test/task.py b/test/maple_test/task.py index cfc913038b..08fc822191 100644 --- a/test/maple_test/task.py +++ b/test/maple_test/task.py @@ -109,7 +109,7 @@ class TestSuiteTask: self.path = complete_path(test_path) self.cfg_path = cfg_path - + config = read_config(self.cfg_path) if config is None: raise TestError( @@ -303,12 +303,7 @@ class TestSuiteTask: def run(self, process_num=1): logger = configs.LOGGER - if platform.system() == "Windows": - logger.info( - "You are running on windows, currently only serial execution is supported" - ) - self.serial_run_task() - elif process_num == 1: + if process_num == 1: logger.debug("The number of running processes is 1, which will run serial") self.serial_run_task() else: -- Gitee