From 315fb4046e5a3cd16f696785c0c70a354a5cc651 Mon Sep 17 00:00:00 2001 From: Tom Clancy Date: Mon, 10 Mar 2014 11:16:19 -0400 Subject: [PATCH 1/2] Patch for Windows --- multimechanize/utilities/run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/multimechanize/utilities/run.py b/multimechanize/utilities/run.py index f667414..5677329 100755 --- a/multimechanize/utilities/run.py +++ b/multimechanize/utilities/run.py @@ -95,7 +95,10 @@ def run_test(project_name, cmd_opts, remote_starter=None): script_file, run_time, rampup) user_groups.append(ug) for user_group in user_groups: - user_group.start() + if sys.platform == 'win32': + user_group.run() + else: + user_group.start() start_time = time.time() From cfc56389eecef502086f2bdd1eca6af1812edc3f Mon Sep 17 00:00:00 2001 From: Tom Clancy Date: Mon, 10 Mar 2014 11:17:54 -0400 Subject: [PATCH 2/2] Better patch for Windows --- multimechanize/utilities/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multimechanize/utilities/run.py b/multimechanize/utilities/run.py index 5677329..d761070 100755 --- a/multimechanize/utilities/run.py +++ b/multimechanize/utilities/run.py @@ -95,7 +95,7 @@ def run_test(project_name, cmd_opts, remote_starter=None): script_file, run_time, rampup) user_groups.append(ug) for user_group in user_groups: - if sys.platform == 'win32': + if sys.platform.startswith('win'): user_group.run() else: user_group.start()