Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: scripts/slave/recipes/bisect_test/example_bisect_results.py

Issue 1782333002: Add bisect config validation. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebased Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """This example file is meant to provide coverage to bisect_results.""" 5 """This example file is meant to provide coverage to bisect_results."""
6 6
7 DEPS = [ 7 DEPS = [
8 'auto_bisect', 8 'auto_bisect',
9 'recipe_engine/json', 9 'recipe_engine/json',
10 'recipe_engine/path', 10 'recipe_engine/path',
11 'recipe_engine/properties', 11 'recipe_engine/properties',
12 'recipe_engine/raw_io', 12 'recipe_engine/raw_io',
13 ] 13 ]
14 14
15 BASIC_CONFIG = { 15 BASIC_CONFIG = {
16 'test_type': 'perf', 16 'test_type': 'perf',
17 'command': 17 'command':
18 ('src/tools/perf/run_benchmark -v --browser=release smoothness.' 18 ('src/tools/perf/run_benchmark -v --browser=release smoothness.'
19 'tough_scrolling_cases'), 19 'tough_scrolling_cases'),
20 'good_revision': '314015', 20 'good_revision': '314015',
21 'bad_revision': '314017', 21 'bad_revision': '314017',
22 'metric': 'mean_input_event_latency/mean_input_event_latency', 22 'metric': 'mean_input_event_latency/mean_input_event_latency',
23 'repeat_count': '2', 23 'repeat_count': '2',
24 'max_time_minutes': '5', 24 'max_time_minutes': '5',
25 'truncate_percent': '0',
26 'bug_id': '',
27 'gs_bucket': 'chrome-perf', 25 'gs_bucket': 'chrome-perf',
28 'builder_host': 'master4.golo.chromium.org', 26 'builder_host': 'master4.golo.chromium.org',
29 'builder_port': '8341', 27 'builder_port': '8341',
30 'dummy_builds': 'True', 28 'dummy_builds': 'True',
31 'dummy_job_names': 'True', 29 'dummy_job_names': 'True',
32 'bypass_stats_check': 'True', 30 'bypass_stats_check': 'True',
33 'skip_gclient_ops': 'True', 31 'skip_gclient_ops': 'True',
34 } 32 }
35 33
36 BASIC_ATTRIBUTES = { 34 BASIC_ATTRIBUTES = {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 aborted_bisect_test = api.test('aborted_non_telemetry_test') 165 aborted_bisect_test = api.test('aborted_non_telemetry_test')
168 aborted_bisect_test = get_post_bisect_step_data(api, aborted_bisect_test) 166 aborted_bisect_test = get_post_bisect_step_data(api, aborted_bisect_test)
169 aborted_bisect_test = add_revision_mapping(api, aborted_bisect_test, '314015', 167 aborted_bisect_test = add_revision_mapping(api, aborted_bisect_test, '314015',
170 'c001c0de') 168 'c001c0de')
171 aborted_bisect_test = add_revision_mapping(api, aborted_bisect_test, '314017', 169 aborted_bisect_test = add_revision_mapping(api, aborted_bisect_test, '314017',
172 'deadbeef') 170 'deadbeef')
173 aborted_bisect_test += api.properties( 171 aborted_bisect_test += api.properties(
174 bisect_config = NON_TELEMETRY_TEST_CONFIG, 172 bisect_config = NON_TELEMETRY_TEST_CONFIG,
175 dummy_bisector_attributes = ABORTED_BISECT_ATTRIBUTES) 173 dummy_bisector_attributes = ABORTED_BISECT_ATTRIBUTES)
176 yield aborted_bisect_test 174 yield aborted_bisect_test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698