Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: tools/clang/scripts/update.sh

Issue 13999003: Make sure the asan clang pinning does not pin the layout bots too (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/scripts/update.sh
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh
index 0a33894c964ce4c8d320f774b69e2b65e6d6a259..2bca416f99111db822641b814d55e73efcab335b 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698