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

Side by Side Diff: scripts/slave/recipes/bisection/android_bisect.py

Issue 2275733002: Make bisection recipes explicitly set GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix some expectations Created 4 years, 3 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
« no previous file with comments | « no previous file | scripts/slave/recipes/bisection/android_bisect.expected/basic_android_fyi_perf_bisect.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 recipe_engine.types import freeze 5 from recipe_engine.types import freeze
6 6
7 DEPS = [ 7 DEPS = [
8 'auto_bisect', 8 'auto_bisect',
9 'bisect_tester', 9 'bisect_tester',
10 'depot_tools/bot_update', 10 'depot_tools/bot_update',
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 'REPO_NAME': 'src', 93 'REPO_NAME': 'src',
94 'REPO_URL': REPO_URL, 94 'REPO_URL': REPO_URL,
95 'INTERNAL': False, 95 'INTERNAL': False,
96 'BUILD_CONFIG': 'Release', 96 'BUILD_CONFIG': 'Release',
97 'TARGET_PLATFORM': 'android', 97 'TARGET_PLATFORM': 'android',
98 } 98 }
99 kwargs.update(bot_config.get('kwargs', {})) 99 kwargs.update(bot_config.get('kwargs', {}))
100 api.chromium_android.configure_from_properties(recipe_config, **kwargs) 100 api.chromium_android.configure_from_properties(recipe_config, **kwargs)
101 api.chromium.set_config(recipe_config, **kwargs) 101 api.chromium.set_config(recipe_config, **kwargs)
102 api.chromium_android.c.set_val({'deps_file': 'DEPS'}) 102 api.chromium_android.c.set_val({'deps_file': 'DEPS'})
103 api.gclient.set_config('chromium') 103 api.gclient.set_config('chromium', GIT_MODE=True)
104 for c in bot_config.get('gclient_apply_config', []): 104 for c in bot_config.get('gclient_apply_config', []):
105 api.gclient.apply_config(c) 105 api.gclient.apply_config(c)
106 update_step = api.auto_bisect.ensure_checkout() 106 update_step = api.auto_bisect.ensure_checkout()
107 api.path.c.dynamic_paths['catapult'] = api.m.auto_bisect.working_dir.join( 107 api.path.c.dynamic_paths['catapult'] = api.m.auto_bisect.working_dir.join(
108 'catapult') 108 'catapult')
109 api.chromium_android.clean_local_files() 109 api.chromium_android.clean_local_files()
110 110
111 bot_db = api.chromium_tests.create_bot_db_from_master_dict(mastername, 111 bot_db = api.chromium_tests.create_bot_db_from_master_dict(mastername,
112 master_dict) 112 master_dict)
113 113
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 # multiple_device_status 692 # multiple_device_status
693 api.step_data('Debug Info', retcode=1) + 693 api.step_data('Debug Info', retcode=1) +
694 api.override_step_data('device_status (3)', 694 api.override_step_data('device_status (3)',
695 api.json.output(working_device)) + 695 api.json.output(working_device)) +
696 api.step_data('Expanding revision range.for revisions %s:%s (2)' % ( 696 api.step_data('Expanding revision range.for revisions %s:%s (2)' % (
697 good_revision_hash, bad_revision_hash), 697 good_revision_hash, bad_revision_hash),
698 stdout=api.json.output([[bad_revision_hash, 'ignored'], [ 698 stdout=api.json.output([[bad_revision_hash, 'ignored'], [
699 good_revision_hash, 'ignored']])) + 699 good_revision_hash, 'ignored']])) +
700 api.step_data('Post bisect results', 700 api.step_data('Post bisect results',
701 stdout=api.json.output({'status_code': 200}))) 701 stdout=api.json.output({'status_code': 200})))
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/bisection/android_bisect.expected/basic_android_fyi_perf_bisect.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698