diff options
author | Zhizhou Yang <zhizhouy@google.com> | 2019-10-16 17:45:30 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-10-27 05:16:16 -0700 |
commit | 45582b59e386953ecfc25a6b19ca23e18c550eef (patch) | |
tree | fe65d9944832d3c3731492f38b8e6237ac70711f /crosperf/crosperf_unittest.py | |
parent | e2546d5a35c3f400a74d1902992f635ade141f90 (diff) | |
download | toolchain-utils-45582b59e386953ecfc25a6b19ca23e18c550eef.tar.gz |
crosperf: Add option to not download debug symbols
This patch introduces a new option --download_debug to crosperf.
We will only download debug symbols when this option is set to True.
This will save space when perf test users doesn't need it.
TEST=passed unittests.
BUG=chromium:1010294
Change-Id: Ic80958377f1c25cb04e3b7b56b40fafcada6d2d8
Reviewed-on: https://chromium-review.googlesource.com/1865958
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Commit-Ready: Zhizhou Yang <zhizhouy@google.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Denis Nikitin <denik@chromium.org>
Diffstat (limited to 'crosperf/crosperf_unittest.py')
-rwxr-xr-x | crosperf/crosperf_unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crosperf/crosperf_unittest.py b/crosperf/crosperf_unittest.py index 4f40d139..faf1badf 100755 --- a/crosperf/crosperf_unittest.py +++ b/crosperf/crosperf_unittest.py @@ -69,7 +69,7 @@ class CrosperfTest(unittest.TestCase): settings = crosperf.ConvertOptionsToSettings(options) self.assertIsNotNone(settings) self.assertIsInstance(settings, settings_factory.GlobalSettings) - self.assertEqual(len(settings.fields), 37) + self.assertEqual(len(settings.fields), 38) self.assertTrue(settings.GetField('rerun')) argv = ['crosperf/crosperf.py', 'temp.exp'] options, _ = parser.parse_known_args(argv) |