diff options
author | borenet <borenet@chromium.org> | 2016-03-17 09:01:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-17 09:01:33 -0700 |
commit | 64e9816429bfff0a666b5f0995e9124e2689595d (patch) | |
tree | 5259e48e447ad46ef29c9ab20a5fb535d4a6403c /infra/bots/flavor/default_flavor.py | |
parent | e1849d14b9b50ba0346840f74adfcd7052603b43 (diff) |
Some fixes for Swarming bots
BUG=skia:4763
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1813443003
Review URL: https://codereview.chromium.org/1813443003
Diffstat (limited to 'infra/bots/flavor/default_flavor.py')
-rw-r--r-- | infra/bots/flavor/default_flavor.py | 4 |
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) |