diff options
Diffstat (limited to 'devbot')
-rw-r--r-- | devbot/run.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devbot/run.py b/devbot/run.py index 038775b..3bb1920 100644 --- a/devbot/run.py +++ b/devbot/run.py @@ -35,15 +35,15 @@ def run(command): os.execlp(args[0], *args) -def run_test(command, test_path, virtual=False): +def run_test(command, test_path): environ.setup() temp_dir = tempfile.mkdtemp("sugar-build-test") display_path = os.path.join(temp_dir, "display") - args = [command, "--display-path", display_path] - if virtual: - args.append("--virtual") + args = [command, + "--display-path", display_path, + "--virtual"] command_process = subprocess.Popen(args, stdout=subprocess.PIPE) |