aboutsummaryrefslogtreecommitdiff
path: root/crosperf/label.py
diff options
context:
space:
mode:
authorcmtice <cmtice@google.com>2013-11-04 16:38:37 -0500
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-06 08:21:31 +0000
commit0440388677b2445f4f8273b6c2b4d82601b1aca3 (patch)
tree87678e20fb60fc1f4e4f82c32b24084744685db2 /crosperf/label.py
parent28ed8f65f751c000c676ea67bdb2b0e20f73038a (diff)
downloadtoolchain-utils-0440388677b2445f4f8273b6c2b4d82601b1aca3.tar.gz
Make changes to run Telemetry tests in nightly infrastructure tests.
BUG=None TEST=Tested this running the nightly infrastructure cron jobs. Change-Id: I6cccee222b074e9410b45df6750c097430207746 Reviewed-on: https://chrome-internal-review.googlesource.com/147515 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/label.py')
-rw-r--r--crosperf/label.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/crosperf/label.py b/crosperf/label.py
index 544f53d8..c63880e1 100644
--- a/crosperf/label.py
+++ b/crosperf/label.py
@@ -42,6 +42,9 @@ class Label(object):
if not chrome_src:
self.chrome_src = os.path.join(self.chromeos_root,
"chroot/var/cache/chromeos-chrome/chrome-src-internal/src")
+ if not os.path.exists(self.chrome_src):
+ self.chrome_src = os.path.join(self.chromeos_root,
+ "chroot/var/cache/chromeos-chrome/chrome-src/src")
else:
chromeos_src = misc.CanonicalizePath(chrome_src)
if not chromeos_src: