Fix Linux Swarming bots
authorborenet <borenet@chromium.org>
Thu, 17 Mar 2016 16:19:09 +0000 (09:19 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 17 Mar 2016 16:19:09 +0000 (09:19 -0700)
NOTRY=true
NOTREECHECKS=true
BUG=skia:4763
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1806323003

Review URL: https://codereview.chromium.org/1806323003

infra/bots/flavor/default_flavor.py

index 5cf0eee..4d11117 100644 (file)
@@ -76,8 +76,8 @@ class DefaultFlavorUtils(object):
     path_to_app = os.path.join(self._bot_info.out_dir,
                                self._bot_info.configuration, cmd[0])
     if ('linux' in sys.platform and
-        'x86_64' in self._bot_info.bot_name and
-        not 'TSAN' in self._bot_info.bot_name):
+        'x86_64' in self._bot_info.name and
+        not 'TSAN' in self._bot_info.name):
       new_cmd = ['catchsegv', path_to_app]
     else:
       if sys.platform == 'win32':