From 4b3e0787e243e7224cf297ef22e913ba96d2fc4c Mon Sep 17 00:00:00 2001 From: Timofey Date: Wed, 3 Jun 2015 15:58:49 +0300 Subject: [PATCH] Replaced creating the list of files to run by a one-liner. --- tools/run_desktop_tests.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/run_desktop_tests.py b/tools/run_desktop_tests.py index 97916cabf4..6b35b9a66f 100755 --- a/tools/run_desktop_tests.py +++ b/tools/run_desktop_tests.py @@ -100,9 +100,7 @@ def set_global_vars(): skiplist = list(set(argument.split(","))) elif option in ("-i", "--include"): print("\n-i option found, -e option will be ignored!") - include_tests = argument.split(",") - for include_test in include_tests: - runlist.append(include_test) + runlist = argument.split(",") elif option in ("-f", "--folder"): workspace_path = argument else: