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

Unified Diff: scripts/slave/recipe_modules/chromium/chromium_perf_fyi.py

Issue 1185693002: Move builders.py and steps.py to chromium_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Address review comments. Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/chromium/chromium_perf_fyi.py
diff --git a/scripts/slave/recipe_modules/chromium/chromium_perf_fyi.py b/scripts/slave/recipe_modules/chromium/chromium_perf_fyi.py
deleted file mode 100644
index fb389f81e144049d8dac8dbf62a27c40714cc12e..0000000000000000000000000000000000000000
--- a/scripts/slave/recipe_modules/chromium/chromium_perf_fyi.py
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from . import steps
-
-RESULTS_URL = 'https://chromeperf.appspot.com'
-
-def _GetTargetName(platform, target_bits):
- return ('Release_x64' if platform is 'win' and target_bits is 64
- else 'Release')
-
-def _Spec(platform, parent_builder, perf_id, index, num_shards, target_bits):
- if platform == 'android':
- return {
- 'disable_tests': True,
- 'bot_type': 'tester',
- 'chromium_config_kwargs': {
- 'BUILD_CONFIG': 'Release',
- 'TARGET_BITS': target_bits,
- 'TARGET_PLATFORM': 'android',
- },
- 'gclient_config': 'perf',
- 'gclient_apply_config': ['android'],
- 'parent_buildername': parent_builder,
- 'chromium_config': 'chromium_official',
- 'gclient_config': 'perf',
- 'android_config': 'perf',
- 'testing': {
- 'platform': 'linux',
- },
- 'perf-id': perf_id,
- 'results-url': RESULTS_URL,
- 'tests': [],
- }
- else:
- return {
- 'disable_tests': True,
- 'bot_type': 'tester',
- 'chromium_config_kwargs': {
- 'BUILD_CONFIG': 'Release',
- 'TARGET_BITS': target_bits,
- },
- 'parent_buildername': parent_builder,
- 'chromium_config': 'chromium_official',
- 'gclient_config': 'perf',
- 'testing': {
- 'platform': platform,
- },
- 'perf-id': perf_id,
- 'results-url': RESULTS_URL,
- 'tests': [
- steps.DynamicPerfTests(
- _GetTargetName(platform, target_bits).lower(),
- perf_id, index, num_shards),
- ],
- }
-
-
-def _AddBotSpec(name, platform, parent_builder, perf_id, target_bits,
- num_shards, extra_tests=[]):
- if num_shards > 1:
- for i in range(0, num_shards):
- builder_name = "%s (%d)" % (name, i + 1)
- SPEC['builders'][builder_name] = _Spec(platform, parent_builder, perf_id,
- i, num_shards, target_bits)
- SPEC['builders'][builder_name]['tests'].extend(extra_tests)
- else:
- SPEC['builders'][name] = _Spec(platform, parent_builder, perf_id,
- 0, 1, target_bits)
- SPEC['builders'][name]['tests'].extend(extra_tests)
-
-
-SPEC = {
- 'settings': {
- 'build_gs_bucket': 'chrome-perf',
- },
- 'builders': {
- 'android_oilpan_builder': {
- 'disable_tests': True,
- 'chromium_config': 'chromium_official',
- 'chromium_apply_config': ['oilpan', 'chromium_perf', 'android'],
- 'gclient_config': 'chromium',
- 'gclient_apply_config': ['chrome_internal', 'android', 'perf'],
- 'chromium_config_kwargs': {
- 'BUILD_CONFIG': 'Release',
- 'TARGET_BITS': 32,
- 'TARGET_ARCH': 'arm',
- },
- 'bot_type': 'builder',
- 'testing': {
- 'platform': 'linux',
- },
- },
- 'Linux Oilpan Builder': {
- 'disable_tests': True,
- 'chromium_config': 'chromium_official',
- 'chromium_apply_config': ['oilpan', 'chromium_perf'],
- 'gclient_config': 'chromium',
- 'gclient_apply_config': ['chrome_internal'],
- 'chromium_config_kwargs': {
- 'BUILD_CONFIG': 'Release',
- 'TARGET_BITS': 64,
- },
- 'bot_type': 'builder',
- 'compile_targets': [
- 'chromium_builder_perf',
- ],
- 'testing': {
- 'platform': 'linux',
- },
- },
- 'Win x64 FYI Builder': {
- 'disable_tests': True,
- 'chromium_config': 'chromium_official',
- 'gclient_config': 'chromium',
- 'gclient_apply_config': ['chrome_internal'],
- 'chromium_config_kwargs': {
- 'BUILD_CONFIG': 'Release',
- 'TARGET_BITS': 64,
- },
- 'bot_type': 'builder',
- 'compile_targets': [
- 'chromium_builder_perf',
- ],
- 'testing': {
- 'platform': 'win',
- },
- 'chromium_apply_config': ['chromium_perf_fyi']
- },
- 'Win Clang Builder': {
- 'disable_tests': True,
- 'chromium_config': 'chromium_win_clang_official',
- 'gclient_config': 'chromium',
- 'gclient_apply_config': ['chrome_internal'],
- 'chromium_config_kwargs': {
- 'BUILD_CONFIG': 'Release',
- 'TARGET_BITS': 32,
- },
- 'bot_type': 'builder',
- 'compile_targets': [
- 'chromium_builder_perf',
- ],
- 'testing': {
- 'platform': 'win',
- },
- 'tests': {
- steps.SizesStep(RESULTS_URL, 'win-clang-builder')
- },
- 'chromium_apply_config': ['chromium_perf_fyi'],
- },
- },
-}
-
-_AddBotSpec(
- name='Linux Oilpan Perf',
- platform='linux',
- parent_builder='Linux Oilpan Builder',
- perf_id='linux-oilpan-release',
- target_bits=64,
- num_shards=4)
-
-_AddBotSpec(
- name='Win 7 Intel GPU Perf (Xeon)',
- platform='win',
- parent_builder='Win x64 FYI Builder',
- perf_id='chromium-rel-win7-gpu-intel',
- target_bits=64,
- num_shards=1)
-
-_AddBotSpec(
- name='Win Clang Perf',
- platform='win',
- parent_builder='Win Clang Builder',
- perf_id='chromium-win-clang',
- target_bits=32,
- num_shards=1)
-
-_AddBotSpec(
- name='android_nexus5_oilpan_perf',
- platform='android',
- parent_builder='android_oilpan_builder',
- perf_id='android-nexus5-oilpan',
- target_bits=32,
- num_shards=1,
- extra_tests=[steps.AndroidPerfTests('android-nexus5-oilpan', 1)])
-
« no previous file with comments | « scripts/slave/recipe_modules/chromium/chromium_perf.py ('k') | scripts/slave/recipe_modules/chromium/chromium_webkit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698