aboutsummaryrefslogtreecommitdiff
path: root/weekly_report.py
diff options
context:
space:
mode:
authorLuis Lozano <llozano@chromium.org>2015-04-08 15:07:35 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-04-09 01:45:44 +0000
commit7141db2b3a3d0166ee202ff88c6d34fe05f419a3 (patch)
treebcc1b06e0c7fcf16c919a4b2f09cbfc3e8a0f9f4 /weekly_report.py
parent18f04033e45aec19ebbfe9017e02d2c74e979dc4 (diff)
downloadtoolchain-utils-7141db2b3a3d0166ee202ff88c6d34fe05f419a3.tar.gz
Allow weekly report to use a remote different from what is in the cache.
For the weekly report we dont do any reruns (cache_only). So the machine used in remotes should not matter. Add "same_specs: False" to avoid checking the specs of the machine in the remote field. BUG=None TEST=Reran report by hand with new field setting Change-Id: I37e46bfc99d0a4e421953dacb1a36c41a769c9c8 Reviewed-on: https://chrome-internal-review.googlesource.com/212345 Commit-Queue: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Han Shen <shenhan@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'weekly_report.py')
-rwxr-xr-xweekly_report.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/weekly_report.py b/weekly_report.py
index 3a0ad60a..4c1717ee 100755
--- a/weekly_report.py
+++ b/weekly_report.py
@@ -24,6 +24,8 @@ def Generate_Vanilla_Report_File(vanilla_image_paths, board, remote,
experiment_header = """
name: weekly_vanilla_report
+cache_only: True
+same_specs: False
board: %s
remote: %s
""" % (board, remote)
@@ -64,6 +66,8 @@ def Generate_Test_File(test_image_paths, vanilla_image_path, board, remote,
experiment_header = """
name: weekly_report
+cache_only: True
+same_specs: False
board: %s
remote: %s
""" % (board, remote)
@@ -223,7 +227,7 @@ def Main(argv):
# Run Crosperf on the file to generate the weekly report.
cmd = ("%s/toolchain-utils/crosperf/crosperf "
- "%s --cache_only=True --email=c-compiler-chrome@google.com" %
+ "%s --email=c-compiler-chrome@google.com" %
(constants.CROSTC_WORKSPACE, filename))
retval = cmd_executer.RunCommand(cmd)
return retval