diff options
Diffstat (limited to 'crosperf/mock_instance.py')
-rw-r--r-- | crosperf/mock_instance.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/crosperf/mock_instance.py b/crosperf/mock_instance.py index b86d8dee..74fc21b3 100644 --- a/crosperf/mock_instance.py +++ b/crosperf/mock_instance.py @@ -12,23 +12,22 @@ from label import MockLabel from machine_manager import MockMachineManager from results_cache import MockResultsCache +perf_args = "record -a -e cycles" label1 = MockLabel("test1", "image1", "/tmp/test_benchmark_run", "x86-alex", "chromeos-alex1", image_args="", - image_md5sum="", cache_dir="") label2 = MockLabel("test2", "image2", "/tmp/test_benchmark_run_2", "x86-alex", "chromeos-alex2", image_args="", - image_md5sum="", cache_dir="") benchmark1 = Benchmark("benchmark1", "autotest_name_1", - "autotest_args", 2, "", "perf_args", "", "") + "autotest_args", 2, "", perf_args, "", "") benchmark2 = Benchmark("benchmark2", "autotest_name_2", - "autotest_args", 2, "", "perf_args", "", "") + "autotest_args", 2, "", perf_args, "", "") keyval = {} @@ -113,4 +112,3 @@ keyval[8] = {'': 'PASS', 'test{1}': '2', 'test{2}': '8', 'bool': 'TRUE'} - |