diff options
author | cmtice <cmtice@google.com> | 2013-12-06 15:46:49 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-12-10 22:42:42 +0000 |
commit | 9847df92a2b5f76ccddc4bf10288819712a8ca47 (patch) | |
tree | e36fbfd5361e0895c4254abdd2f8d7147d36e756 /crosperf/results_cache_unittest.py | |
parent | d80a960b62d89bc6f83d2f5fd4d599408f2ec7f9 (diff) | |
download | toolchain-utils-9847df92a2b5f76ccddc4bf10288819712a8ca47.tar.gz |
Use default results for Telemetry tests; add option to use all results.
When running telemetry_Crosperf, use the json file of report defaults to
determine which results to actually include in the report. This CL
also adds a flag to Crospref, --show_all_results=True, that allows the
user to override the defaults and generate a report showing all the values.
BUG=None
TEST=Tested this both with and without the --show_all_results flag. It
works as expected for me.
Change-Id: I91364572ebdf3d54bb8b408fbd5a2580923f6829
Reviewed-on: https://chrome-internal-review.googlesource.com/149457
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/results_cache_unittest.py')
-rwxr-xr-x | crosperf/results_cache_unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crosperf/results_cache_unittest.py b/crosperf/results_cache_unittest.py index 01d5778a..2a2ac719 100755 --- a/crosperf/results_cache_unittest.py +++ b/crosperf/results_cache_unittest.py @@ -129,7 +129,7 @@ class ResultTest(unittest.TestCase): "remote", "image_args", "image_md5sum", "cache_dir") def testCreateFromRun(self): result = MockResult.CreateFromRun(logger.GetLogger(), self.mock_label, - output, error, 0) + output, error, 0, 0) self.assertEqual(result.keyvals, keyvals) self.assertEqual(result.chroot_results_dir, "/tmp/run_remote_tests.PO1234567/platform_LibCBench") |