aboutsummaryrefslogtreecommitdiff
path: root/crosperf/label.py
diff options
context:
space:
mode:
authorcmtice <cmtice@google.com>2013-11-20 16:36:04 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-22 00:45:40 +0000
commit5f3ccbddaaf5f4a64431c9e68faf83a348ecdfdd (patch)
treeef9460669b0d6f727cab8e060d5bb110869b557a /crosperf/label.py
parent57995561e1b6e98efcc8659b27a775a713a8e02b (diff)
downloadtoolchain-utils-5f3ccbddaaf5f4a64431c9e68faf83a348ecdfdd.tar.gz
Update report generation to check for a 'perf_measurements' file.
The latest version of telemetry_Crosperf generates a perf_measurements file, containing the test results, rather than a keyval file. This CL checks for perf_measurements, and reads it, if it is there. This change is backwards compatible with the older versions of telemetry_Crosperf that used the keyval file. BUG=None TEST=Tested this with the results only in a keyval file and only in a perf_measurements file. Got acceptable test reports either way. Change-Id: If10a62b2f7fbe89d35c1ebe789a81764c9d134e4 Reviewed-on: https://chrome-internal-review.googlesource.com/148295 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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/crosperf/label.py b/crosperf/label.py
index c63880e1..61698653 100644
--- a/crosperf/label.py
+++ b/crosperf/label.py
@@ -41,10 +41,10 @@ class Label(object):
self.chromeos_root = chromeos_root
if not chrome_src:
self.chrome_src = os.path.join(self.chromeos_root,
- "chroot/var/cache/chromeos-chrome/chrome-src-internal/src")
+ ".cache/distfiles/target/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")
+ ".cache/distfiles/target/chrome-src/src")
else:
chromeos_src = misc.CanonicalizePath(chrome_src)
if not chromeos_src: