diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-27 18:53:16 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-27 18:53:16 (GMT) |
commit | c9766d61d99cb64e47a1f30ee2fbc94aee5d28ab (patch) | |
tree | 379b1258ce6d6be4226ca1f2c2719a733ab08def /devbot | |
parent | e60122f2e4a31ab4f4b39e0a2b6358afaca43f4f (diff) |
Always run tests in a virtual server
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) |