aboutsummaryrefslogtreecommitdiff
path: root/crosperf/machine_manager_unittest.py
diff options
context:
space:
mode:
authorcmtice <cmtice@google.com>2014-05-29 16:16:25 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-06-02 22:21:14 +0000
commit2a370f7af34f6b126e80ef55891b9bff6a2858bb (patch)
tree96bab70d1745bccd2fdc06b3662738e4db314852 /crosperf/machine_manager_unittest.py
parent4d24b3a0e8a8fae5ac9cf00c3889288c0571b1fc (diff)
downloadtoolchain-utils-2a370f7af34f6b126e80ef55891b9bff6a2858bb.tar.gz
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 <yunlian@google.com> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/machine_manager_unittest.py')
-rwxr-xr-xcrosperf/machine_manager_unittest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/crosperf/machine_manager_unittest.py b/crosperf/machine_manager_unittest.py
index 10a34884..059ce20a 100755
--- a/crosperf/machine_manager_unittest.py
+++ b/crosperf/machine_manager_unittest.py
@@ -32,10 +32,10 @@ CHROMEOS_ROOT = "/tmp/chromeos-root"
MACHINE_NAMES = ["lumpy1", "lumpy2", "lumpy3", "daisy1", "daisy2"]
LABEL_LUMPY = label.MockLabel("lumpy", "image", CHROMEOS_ROOT, "lumpy",
["lumpy1", "lumpy2", "lumpy3", "lumpy4"],
- "", "", "")
+ "", "", False, "")
LABEL_MIX = label.MockLabel("mix", "image", CHROMEOS_ROOT, "mix",
["daisy1", "daisy2", "lumpy3", "lumpy4"],
- "", "", "")
+ "", "", False, "")
class MachineManagerTest(unittest.TestCase):