summaryrefslogtreecommitdiffstats
path: root/tools/clang
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-10 18:44:52 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-10 18:44:52 +0000
commit70e7928b2db1915470f384bd261ddb68ecae9d72 (patch)
tree3ed544ba7dd965c823f7f4b71b3a44c7dd9eb65c /tools/clang
parent1036f0eb4c87a845adfe38eb98f66b4308023116 (diff)
downloadchromium_src-70e7928b2db1915470f384bd261ddb68ecae9d72.zip
chromium_src-70e7928b2db1915470f384bd261ddb68ecae9d72.tar.gz
chromium_src-70e7928b2db1915470f384bd261ddb68ecae9d72.tar.bz2
Make sure the asan clang pinning does not pin the layout bots too
BUG=170629 Review URL: https://codereview.chromium.org/13999003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/clang')
-rwxr-xr-xtools/clang/scripts/update.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh
index 0a33894..2bca416 100755
--- a/tools/clang/scripts/update.sh
+++ b/tools/clang/scripts/update.sh
@@ -117,8 +117,12 @@ function on_asan_mac_host {
if [[ "${HOST}" == "mini11-a1" ]]; then
return 0
fi
- # mac_asan trybots.
- for num in $(jot - 600 655)
+ # mac_asan trybots. These share machines with the mac_layout bots, so only
+ # pin clang if the slave is used for an _asan build, not for a layout build.
+ if [[ "${PWD}" != *asan* ]]; then
+ return 1
+ fi
+ for num in {600..655}
do
if [[ "${HOST}" == "vm${num}-m4" ]]; then
return 0