aboutsummaryrefslogtreecommitdiff
path: root/crosperf/experiment_factory.py
diff options
context:
space:
mode:
authorZhizhou Yang <zhizhouy@google.com>2018-11-02 17:45:19 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-11-05 22:09:28 -0800
commit265c5acbe70d8769f60260f80921338c15b834b1 (patch)
tree83233e411c958de36c6c968e6a0b97e156cf3b35 /crosperf/experiment_factory.py
parent9e47c31de6940a2b28d40d50ebb2e1fad6963c95 (diff)
downloadtoolchain-utils-265c5acbe70d8769f60260f80921338c15b834b1.tar.gz
crosperf: move all_crosbolt_perf benchmark to telemetry_crosperf suite
This patch fixes the issue that all_crosbolt_perf cannot run correctly with crosperf. The construction of this benchmark should sit in telemetry suite. BUG=chromium:901568 TEST=ran all_crosbolt_perf benchmark with crosperf on local DUT Change-Id: I94018cd7ad8348238085270b92c5a7e44ae4bbaa Reviewed-on: https://chromium-review.googlesource.com/1316708 Commit-Ready: Zhizhou Yang <zhizhouy@google.com> Tested-by: Zhizhou Yang <zhizhouy@google.com> Reviewed-by: Caroline Tice <cmtice@chromium.org>
Diffstat (limited to 'crosperf/experiment_factory.py')
-rw-r--r--crosperf/experiment_factory.py32
1 files changed, 16 insertions, 16 deletions
diff --git a/crosperf/experiment_factory.py b/crosperf/experiment_factory.py
index bd25c785..70b5068b 100644
--- a/crosperf/experiment_factory.py
+++ b/crosperf/experiment_factory.py
@@ -177,6 +177,22 @@ class ExperimentFactory(object):
test_args, iterations, rm_chroot_tmp,
perf_args, suite, show_all_results, retries,
run_local)
+ elif test_name == 'all_crosbolt_perf':
+ self.AppendBenchmarkSet(benchmarks, telemetry_crosbolt_perf_tests,
+ test_args, iterations, rm_chroot_tmp,
+ perf_args, 'telemetry_Crosperf',
+ show_all_results, retries, run_local)
+ self.AppendBenchmarkSet(
+ benchmarks,
+ crosbolt_perf_tests,
+ '',
+ iterations,
+ rm_chroot_tmp,
+ perf_args,
+ '',
+ show_all_results,
+ retries,
+ run_local=False)
elif test_name == 'all_toolchain_perf':
self.AppendBenchmarkSet(benchmarks, telemetry_toolchain_perf_tests,
test_args, iterations, rm_chroot_tmp,
@@ -218,22 +234,6 @@ class ExperimentFactory(object):
show_all_results,
retries,
run_local=False)
- elif test_name == 'all_crosbolt_perf':
- self.AppendBenchmarkSet(benchmarks, telemetry_crosbolt_perf_tests,
- test_args, iterations, rm_chroot_tmp,
- perf_args, 'telemetry_Crosperf',
- show_all_results, retries, run_local)
- self.AppendBenchmarkSet(
- benchmarks,
- crosbolt_perf_tests,
- '',
- iterations,
- rm_chroot_tmp,
- perf_args,
- '',
- show_all_results,
- retries,
- run_local=False)
else:
# Add the single benchmark.
benchmark = Benchmark(