aboutsummaryrefslogtreecommitdiff
path: root/weekly_report.py
diff options
context:
space:
mode:
authorLuis Lozano <llozano@chromium.org>2015-04-23 14:37:09 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-04-24 02:47:03 +0000
commit8a68b2d90fdafdd45c636cf48375c944107d5062 (patch)
treed26c42ae6771f58e44f080f71573efdb7448e5b6 /weekly_report.py
parenta63ffc0d2f8d95af20860eab293b72270efa4ac0 (diff)
downloadtoolchain-utils-8a68b2d90fdafdd45c636cf48375c944107d5062.tar.gz
Make sure latest toolchains are build in non vanilla testing.
Our non-vanilla testing builds with latest compiler but it was not using --latest_toolchain argument for cbuildbot. Also, did some minor cleanup. BUG=None TEST=None (will let it test in the nightly testing) Change-Id: I7316fcd8b9548f7038b110bdf6cd4f60714f41d2 Reviewed-on: https://chrome-internal-review.googlesource.com/214363 Commit-Queue: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'weekly_report.py')
-rwxr-xr-xweekly_report.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/weekly_report.py b/weekly_report.py
index 4c1717ee..5cfba521 100755
--- a/weekly_report.py
+++ b/weekly_report.py
@@ -56,7 +56,8 @@ benchmark: all_perfv2 {
chromeos_root: %s
chromeos_image: %s
}
-""" % (test_name, chromeos_root, os.path.join (test_path, "chromiumos_test_image.bin"))
+""" % (test_name, chromeos_root, os.path.join (test_path,
+ "chromiumos_test_image.bin"))
print >>f, test_image
return filename
@@ -91,11 +92,13 @@ benchmark: all_perfv2 {
# Add vanilla image (first)
vanilla_image = """
-vanilla_image {
+%s {
chromeos_root: %s
chromeos_image: %s
}
-""" % (chromeos_root, os.path.join(vanilla_image_path, "chromiumos_test_image.bin"))
+""" % (vanilla_image_path.split("/")[-1],
+ chromeos_root, os.path.join(vanilla_image_path,
+ "chromiumos_test_image.bin"))
print >>f, vanilla_image
@@ -108,7 +111,8 @@ vanilla_image {
chromeos_root: %s
chromeos_image: %s
}
-""" % (test_name, chromeos_root, os.path.join (test_path, "chromiumos_test_image.bin"))
+""" % (test_name, chromeos_root, os.path.join (test_path,
+ "chromiumos_test_image.bin"))
print >>f, test_image
return filename