aboutsummaryrefslogtreecommitdiff
path: root/crosperf/mock_instance.py
diff options
context:
space:
mode:
authorRahul Chaudhry <rahulchaudhry@chromium.org>2016-07-29 13:17:07 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-29 17:28:55 -0700
commit0c6b64a92171fc48773c6f83fcff4ee8e07b013b (patch)
tree698ea14dc90af4a6d69e7a122581a2227d445747 /crosperf/mock_instance.py
parentb45d1fa0609e196e48077314598ce9a17b1e6173 (diff)
downloadtoolchain-utils-0c6b64a92171fc48773c6f83fcff4ee8e07b013b.tar.gz
toolchain-utils: make file formatting conform to tc_pyformat.
BUG=chromium:632109 TEST=None Change-Id: Ie3da2fa8707478b60e51a237adac7da11e180f9f Reviewed-on: https://chrome-internal-review.googlesource.com/272169 Commit-Ready: Rahul Chaudhry <rahulchaudhry@google.com> Tested-by: Rahul Chaudhry <rahulchaudhry@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/mock_instance.py')
-rw-r--r--crosperf/mock_instance.py43
1 files changed, 22 insertions, 21 deletions
diff --git a/crosperf/mock_instance.py b/crosperf/mock_instance.py
index b689565c..c2a0b1f3 100644
--- a/crosperf/mock_instance.py
+++ b/crosperf/mock_instance.py
@@ -1,4 +1,3 @@
-
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -11,27 +10,29 @@ 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='',
- cache_dir='',
- cache_only=False,
- log_level='average',
- compiler='gcc')
+label1 = MockLabel(
+ 'test1',
+ 'image1',
+ '/tmp/test_benchmark_run',
+ 'x86-alex',
+ 'chromeos-alex1',
+ image_args='',
+ cache_dir='',
+ cache_only=False,
+ log_level='average',
+ compiler='gcc')
-label2 = MockLabel('test2',
- 'image2',
- '/tmp/test_benchmark_run_2',
- 'x86-alex',
- 'chromeos-alex2',
- image_args='',
- cache_dir='',
- cache_only=False,
- log_level='average',
- compiler='gcc')
+label2 = MockLabel(
+ 'test2',
+ 'image2',
+ '/tmp/test_benchmark_run_2',
+ 'x86-alex',
+ 'chromeos-alex2',
+ image_args='',
+ cache_dir='',
+ cache_only=False,
+ log_level='average',
+ compiler='gcc')
benchmark1 = Benchmark('benchmark1', 'autotest_name_1', 'autotest_args', 2, '',
perf_args, '', '')