9030b94c60
Bug: skia:6473 Change-Id: If1d6e1f64ec53624e7b540abd9d8a61cc82c4e0a Reviewed-on: https://skia-review.googlesource.com/125947 Reviewed-by: Ben Wagner <benjaminwagner@google.com> Commit-Queue: Eric Boren <borenet@google.com>
83 lines
2.6 KiB
Python
83 lines
2.6 KiB
Python
# Copyright 2017 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.
|
|
|
|
|
|
DEPS = [
|
|
'build',
|
|
'recipe_engine/properties',
|
|
'recipe_engine/raw_io',
|
|
'run',
|
|
'vars',
|
|
]
|
|
|
|
|
|
def RunSteps(api):
|
|
api.vars.setup()
|
|
|
|
api.build()
|
|
api.build.copy_build_products(
|
|
api.vars.swarming_out_dir.join(
|
|
'out', api.vars.configuration))
|
|
api.run.check_failure()
|
|
|
|
|
|
TEST_BUILDERS = [
|
|
'Build-Debian9-Clang-arm-Release-Android_API26',
|
|
'Build-Debian9-Clang-arm-Release-Android_ASAN',
|
|
'Build-Debian9-Clang-arm-Release-Chromebook_GLES',
|
|
'Build-Debian9-Clang-arm64-Release-Android_ASAN',
|
|
'Build-Debian9-Clang-universal-devrel-Android_SKQP',
|
|
'Build-Debian9-Clang-x86_64-Debug-Chromebook_GLES',
|
|
'Build-Debian9-Clang-x86_64-Debug-Coverage',
|
|
'Build-Debian9-Clang-x86_64-Debug-MSAN',
|
|
'Build-Debian9-Clang-x86_64-Debug-SK_CPU_LIMIT_SSE41',
|
|
'Build-Debian9-Clang-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE',
|
|
'Build-Debian9-Clang-x86_64-Debug-SafeStack',
|
|
'Build-Debian9-Clang-x86_64-Release-ASAN',
|
|
'Build-Debian9-Clang-x86_64-Release-Fast',
|
|
'Build-Debian9-Clang-x86_64-Release-Mini',
|
|
'Build-Debian9-Clang-x86_64-Release-NoDEPS',
|
|
'Build-Debian9-Clang-x86_64-Release-SwiftShader',
|
|
'Build-Debian9-Clang-x86_64-Release-Vulkan',
|
|
'Build-Debian9-EMCC-wasm-Release',
|
|
'Build-Debian9-GCC-arm-Release-Chromecast',
|
|
'Build-Debian9-GCC-loongson3a-Release',
|
|
'Build-Debian9-GCC-x86_64-Debug-EmbededResouces',
|
|
'Build-Debian9-GCC-x86_64-Release-ANGLE',
|
|
'Build-Debian9-GCC-x86_64-Release-Flutter_Android',
|
|
'Build-Debian9-GCC-x86_64-Release-NoGPU',
|
|
'Build-Debian9-GCC-x86_64-Release-Shared',
|
|
'Build-Mac-Clang-arm64-Debug-Android_Vulkan',
|
|
'Build-Mac-Clang-arm64-Debug-iOS',
|
|
'Build-Mac-Clang-x86_64-Debug-CommandBuffer',
|
|
'Build-Mac-Clang-x86_64-Debug-Metal',
|
|
'Build-Win-Clang-arm64-Release-Android',
|
|
'Build-Win-Clang-x86-Debug-Exceptions',
|
|
'Build-Win-Clang-x86_64-Debug-GDI',
|
|
'Build-Win-Clang-x86_64-Release',
|
|
'Build-Win-Clang-x86_64-Release-Vulkan',
|
|
'Build-Win-MSVC-x86_64-Debug',
|
|
'Housekeeper-PerCommit-CheckGeneratedFiles',
|
|
'Test-Ubuntu14-Clang-GCE-CPU-AVX2-x86_64-Debug-All-CT_DM_10k_SKPs'
|
|
]
|
|
|
|
# Default properties used for TEST_BUILDERS.
|
|
defaultProps = lambda buildername: dict(
|
|
buildername=buildername,
|
|
repository='https://skia.googlesource.com/skia.git',
|
|
revision='abc123',
|
|
path_config='kitchen',
|
|
patch_set=2,
|
|
swarm_out_dir='[SWARM_OUT_DIR]'
|
|
)
|
|
|
|
def GenTests(api):
|
|
for buildername in TEST_BUILDERS:
|
|
test = (
|
|
api.test(buildername) +
|
|
api.properties(**defaultProps(buildername))
|
|
)
|
|
yield test
|
|
|