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

Unified Diff: scripts/slave/recipes/gpu/build_and_test.py

Issue 1675443002: Delete the GPU recipe and code that only it depended on. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Addressed iannucci's review feedback. Created 4 years, 10 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/recipes/gpu/build_and_test.py
diff --git a/scripts/slave/recipes/gpu/build_and_test.py b/scripts/slave/recipes/gpu/build_and_test.py
deleted file mode 100644
index ee9c12ee3541007188a69b4b19f5276c0f4d135d..0000000000000000000000000000000000000000
--- a/scripts/slave/recipes/gpu/build_and_test.py
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 2013 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.
-
-# This recipe is intended to control all of the GPU related bots:
-# chromium.gpu
-# chromium.gpu.fyi
-# The GPU bots on the chromium.webkit waterfall
-# The GPU bots on the tryserver.chromium.* waterfalls
-
-DEPS = [
- 'buildbot',
- 'chromium',
- 'isolate',
- 'recipe_engine/json',
- 'filter',
- 'gpu',
- 'recipe_engine/path',
- 'recipe_engine/platform',
- 'recipe_engine/properties',
- 'recipe_engine/raw_io',
- 'recipe_engine/step',
- 'test_utils',
-]
-
-def RunSteps(api):
- api.gpu.setup()
- api.buildbot.prep()
-
- # For local testing: pass 'skip_checkout=True' to run_recipe to skip the
- # checkout step. A full checkout via the recipe must have been done
- # previously.
- if not api.properties.get('skip_checkout', False):
- api.gpu.checkout_steps()
- else:
- api.path['checkout'] = api.path['slave_build'].join('src')
-
- # For local testing: pass 'skip_compile=True' to run_recipe to skip the
- # runhooks and compile steps. A checkout and build via the recipe must have
- # been done previously.
- if not api.properties.get('skip_compile', False):
- api.gpu.compile_steps()
-
- api.gpu.run_tests(api, api.gpu.get_build_revision(),
- api.gpu.get_webkit_revision())
-
-def GenTests(api):
- for build_config in ['Release', 'Debug']:
- for plat in ['win', 'mac', 'linux']:
- # Normal builder configuration
- base_name = '%s_%s' % (plat, build_config.lower())
- yield (
- api.test(base_name) +
- api.properties.scheduled(build_config=build_config) +
- api.platform.name(plat)
- )
-
- # Blink builder configuration
- yield (
- api.test('%s_blink' % base_name) +
- api.properties.scheduled(
- build_config=build_config,
- top_of_tree_blink=True,
- project='webkit'
- ) +
- api.platform.name(plat)
- )
-
- # Try server configuration
- yield (
- api.test('%s_tryserver' % base_name) +
- api.properties.tryserver(build_config=build_config) +
- api.override_step_data('analyze', api.gpu.analyze_builds_everything) +
- api.platform.name(plat)
- )
-
- # Test one configuration using git mode.
- yield (
- api.test('mac_release_git') +
- api.properties.git_scheduled(build_config='Release', use_git=True) +
- api.platform.name('mac')
- )
-
- # Test one trybot configuration with Blink issues.
- yield (
- api.test('mac_release_tryserver_blink') +
- api.properties.tryserver(
- build_config='Release',
- patch_project='blink') +
- api.override_step_data('analyze', api.gpu.analyze_builds_everything) +
- api.platform.name('mac')
- )
-
- # Test one configuration skipping the checkout.
- yield (
- api.test('mac_release_skip_checkout') +
- api.properties.git_scheduled(
- build_config='Release',
- skip_checkout=True,
- parent_got_revision=10000,
- parent_got_webkit_revision=10001) +
- api.platform.name('mac')
- )
-
- # Test one configuration skipping the compile.
- yield (
- api.test('mac_release_skip_compile') +
- api.properties.git_scheduled(
- build_config='Release',
- skip_compile=True,
- # These would ordinarily be generated during the build step.
- swarm_hashes=api.gpu.dummy_swarm_hashes,
- ) +
- api.platform.name('mac')
- )
-
- # Test one Windows configuration on the FYI waterfall.
- yield (
- api.test('win_release_fyi') +
- api.properties.scheduled(
- build_config='Release',
- mastername='chromium.gpu.fyi',
- ) +
- api.platform.name('win')
- )
-
- # Test one Linux configuration on the FYI waterfall.
- yield (
- api.test('linux_release_fyi') +
- api.properties.scheduled(
- build_config='Release',
- mastername='chromium.gpu.fyi',
- ) +
- api.platform.name('linux')
- )
-
- yield (
- api.test('killall_gnome_keyring_failure') +
- api.properties.scheduled(
- build_config='Release',
- mastername='chromium.gpu.fyi',
- ) +
- api.platform.name('linux') +
- api.step_data('killall gnome-keyring-daemon', retcode=1)
- )
« no previous file with comments | « scripts/slave/recipes/gpu/OWNERS ('k') | scripts/slave/recipes/gpu/build_and_test.expected/killall_gnome_keyring_failure.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698