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

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

Issue 12285006: Changed asan host detection to use short hostname (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 783875aa1f2bc37f9630d270826142f3fcb1c7de..b32b10856d779ded8c7bbe520615fccc39f7001d 100755
--- a/tools/clang/scripts/update.sh
+++ b/tools/clang/scripts/update.sh
@@ -90,19 +90,19 @@ function on_asan_mac_host {
if [[ "${OS}" != "Darwin" ]]; then
return 1
fi
- HOST="$(uname -n)"
+ HOST="$(hostname -s)"
# Chrome Mac ASan Builder.
- if [[ "${HOST}" == "vm633-m1.golo.chromium.org" ]]; then
+ if [[ "${HOST}" == "vm633-m1" ]]; then
return 0
fi
# Chrome Mac ASan LKGR.
- if [[ "${HOST}" == "mini11-a1.chrome.corp.google.com" ]]; then
+ if [[ "${HOST}" == "mini11-a1" ]]; then
return 0
fi
# mac_asan trybots.
for num in $(jot - 600 655)
do
- if [[ "${HOST}" == "vm${num}-m4.golo.chromium.org" ]]; then
+ if [[ "${HOST}" == "vm${num}-m4" ]]; then
return 0
fi
done
« 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