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

Side by Side Diff: scripts/slave/recipes/findit/chromium/test.py

Issue 2223353004: findit: prepare for running under remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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 from collections import defaultdict 5 from collections import defaultdict
6 import json 6 import json
7 7
8 from recipe_engine.config import Dict 8 from recipe_engine.config import Dict
9 from recipe_engine.config import List 9 from recipe_engine.config import List
10 from recipe_engine.config import Single 10 from recipe_engine.config import Single
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 step_result.presentation.properties['report'] = report 361 step_result.presentation.properties['report'] = report
362 362
363 return report 363 return report
364 364
365 365
366 def GenTests(api): 366 def GenTests(api):
367 def props( 367 def props(
368 tests, platform_name, tester_name, use_analyze=False, good_revision=None, 368 tests, platform_name, tester_name, use_analyze=False, good_revision=None,
369 bad_revision=None, suspected_revisions=None, buildbucket=None): 369 bad_revision=None, suspected_revisions=None, buildbucket=None):
370 properties = { 370 properties = {
371 'path_config': 'kitchen',
371 'mastername': 'tryserver.chromium.%s' % platform_name, 372 'mastername': 'tryserver.chromium.%s' % platform_name,
372 'buildername': '%s_chromium_variable' % platform_name, 373 'buildername': '%s_chromium_variable' % platform_name,
373 'slavename': 'build1-a1', 374 'slavename': 'build1-a1',
374 'buildnumber': 1, 375 'buildnumber': 1,
375 'target_mastername': 'chromium.%s' % platform_name, 376 'target_mastername': 'chromium.%s' % platform_name,
376 'target_testername': tester_name, 377 'target_testername': tester_name,
377 'good_revision': good_revision or 'r0', 378 'good_revision': good_revision or 'r0',
378 'bad_revision': bad_revision or 'r1', 379 'bad_revision': bad_revision or 'r1',
379 'use_analyze': use_analyze, 380 'use_analyze': use_analyze,
380 } 381 }
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 'git commits in range', 1206 'git commits in range',
1206 api.raw_io.stream_output( 1207 api.raw_io.stream_output(
1207 '\n'.join('r%d' % i for i in reversed(range(1, 7))))) + 1208 '\n'.join('r%d' % i for i in reversed(range(1, 7))))) +
1208 api.override_step_data( 1209 api.override_step_data(
1209 'test r2.gl_tests (r2) on Mac-10.9', 1210 'test r2.gl_tests (r2) on Mac-10.9',
1210 simulated_gtest_output(passed_test_names=['Test.One'])) + 1211 simulated_gtest_output(passed_test_names=['Test.One'])) +
1211 api.override_step_data( 1212 api.override_step_data(
1212 'test r3.gl_tests (r3) on Mac-10.9', 1213 'test r3.gl_tests (r3) on Mac-10.9',
1213 simulated_gtest_output(failed_test_names=['Test.One'])) 1214 simulated_gtest_output(failed_test_names=['Test.One']))
1214 ) 1215 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698