From 2a370f7af34f6b126e80ef55891b9bff6a2858bb Mon Sep 17 00:00:00 2001 From: cmtice Date: Thu, 29 May 2014 16:16:25 -0700 Subject: Add --cache_only global setting to crosperf. The CL adds a new setting, --cache_only, which causes crosperf to ONLY report test results that it finds in the cache (it will NOT rerun any tests, even if no cache results are found). This is partly for implementing a weekly summary report, where we want to compare the nightly results from the past week, but not actually rerun anything. BUG=None TEST=I tested this option while generating weekly test reports, and it worked as it is supposed to. Change-Id: Icb1f5343f76ce999bebd0810bb86ab64a7577313 Reviewed-on: https://chrome-internal-review.googlesource.com/164890 Reviewed-by: Yunlian Jiang Commit-Queue: Caroline Tice Tested-by: Caroline Tice --- crosperf/results_cache_unittest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crosperf/results_cache_unittest.py') diff --git a/crosperf/results_cache_unittest.py b/crosperf/results_cache_unittest.py index 099aed81..6713a3eb 100755 --- a/crosperf/results_cache_unittest.py +++ b/crosperf/results_cache_unittest.py @@ -126,7 +126,7 @@ class MockResult(Result): class ResultTest(unittest.TestCase): mock_label = MockLabel("mock_label", "chromeos_image", "/tmp", "lumpy", - "remote", "image_args", "cache_dir") + "remote", "image_args", "cache_dir", False) def testCreateFromRun(self): result = MockResult.CreateFromRun(logger.GetLogger(), "average", self.mock_label, -- cgit v1.2.3