aboutsummaryrefslogtreecommitdiff
path: root/crosperf/benchmark_run_unittest.py
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-02-15 03:23:48 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-02-15 03:23:48 +0000
commit3b46527da85b8139d5fcf887387bcd4de20dec41 (patch)
tree35fa0fbaeaaddd9cc2a126a05eee3527b51e83a8 /crosperf/benchmark_run_unittest.py
parent62564f20dc6f3a88caed664d54fc00dbf3bf7373 (diff)
parentb75f321fc8978b92ce3db6886ccb966768f0c7a8 (diff)
downloadtoolchain-utils-3b46527da85b8139d5fcf887387bcd4de20dec41.tar.gz
Change-Id: I508eae962f523cfa857b4da7c77fdb8a70dfab1e
Diffstat (limited to 'crosperf/benchmark_run_unittest.py')
-rwxr-xr-xcrosperf/benchmark_run_unittest.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/crosperf/benchmark_run_unittest.py b/crosperf/benchmark_run_unittest.py
index 4cadc35c..ab863004 100755
--- a/crosperf/benchmark_run_unittest.py
+++ b/crosperf/benchmark_run_unittest.py
@@ -365,16 +365,12 @@ class BenchmarkRunTest(unittest.TestCase):
'--profiler=custom_perf --profiler_args=\'perf_options="record -a -e '
'cycles"\'')
- self.test_benchmark.suite = 'telemetry'
- result = br.GetExtraAutotestArgs()
- self.assertEqual(result, '')
- self.assertEqual(self.err_msg, 'Telemetry does not support profiler.')
-
self.test_benchmark.perf_args = 'record -e cycles'
self.test_benchmark.suite = 'test_that'
result = br.GetExtraAutotestArgs()
self.assertEqual(result, '')
- self.assertEqual(self.err_msg, 'test_that does not support profiler.')
+ self.assertEqual(self.err_msg,
+ 'Non-telemetry benchmark does not support profiler.')
self.test_benchmark.perf_args = 'junk args'
self.test_benchmark.suite = 'telemetry_Crosperf'