Merge pull request #2734 from therearesomewhocallmetim/fix-integrotests

Fixed parsing of the command line argument for tests to be included i…
This commit is contained in:
Lev Dragunov 2016-04-05 14:07:38 +04:00
commit a59ae873c4

View file

@ -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