From 40d69ad4afda50bf747b747e75069478471c779f Mon Sep 17 00:00:00 2001 From: Timofey Date: Tue, 5 Apr 2016 12:54:47 +0300 Subject: [PATCH] Fixed parsing of the command line argument for tests to be included in the run. --- tools/integration_tests_runner.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/integration_tests_runner.py b/tools/integration_tests_runner.py index b85239a71e..d085521fbd 100644 --- a/tools/integration_tests_runner.py +++ b/tools/integration_tests_runner.py @@ -121,7 +121,11 @@ class IntegrationRunner: exit(2) self.workspace_path = options.folder - self.runlist = filter(lambda x: x in tests_on_disk(self.workspace_path), options.runlist) + interim_runlist = list() + for opt in options.runlist: + interim_runlist.extend(map(lambda x: x.strip(), opt.split(","))) + + self.runlist = filter(lambda x: x in tests_on_disk(self.workspace_path), interim_runlist) self.output = options.output