aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/flavor/default_flavor.py
diff options
context:
space:
mode:
authorGravatar borenet <borenet@chromium.org>2016-03-17 09:01:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-17 09:01:33 -0700
commit64e9816429bfff0a666b5f0995e9124e2689595d (patch)
tree5259e48e447ad46ef29c9ab20a5fb535d4a6403c /infra/bots/flavor/default_flavor.py
parente1849d14b9b50ba0346840f74adfcd7052603b43 (diff)
Some fixes for Swarming bots
Diffstat (limited to 'infra/bots/flavor/default_flavor.py')
-rw-r--r--infra/bots/flavor/default_flavor.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/infra/bots/flavor/default_flavor.py b/infra/bots/flavor/default_flavor.py
index 5933b6c3cf..5cf0eee85b 100644
--- a/infra/bots/flavor/default_flavor.py
+++ b/infra/bots/flavor/default_flavor.py
@@ -75,11 +75,13 @@ class DefaultFlavorUtils(object):
"""Runs a step as appropriate for this flavor."""
path_to_app = os.path.join(self._bot_info.out_dir,
self._bot_info.configuration, cmd[0])
- if (sys.platform == 'linux' and
+ if ('linux' in sys.platform and
'x86_64' in self._bot_info.bot_name and
not 'TSAN' in self._bot_info.bot_name):
new_cmd = ['catchsegv', path_to_app]
else:
+ if sys.platform == 'win32':
+ path_to_app += '.exe'
new_cmd = [path_to_app]
new_cmd.extend(cmd[1:])
return self._bot_info.run(new_cmd, **kwargs)