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

Side by Side Diff: infra/bots/recipes/swarm_test.py

Issue 2198173002: Re-organize Skia recipes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix missing dependency 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 5
6 # Recipe module for Skia Swarming test. 6 # Recipe module for Skia Swarming test.
7 7
8 8
9 DEPS = [ 9 DEPS = [
10 'core',
10 'recipe_engine/json', 11 'recipe_engine/json',
11 'recipe_engine/path', 12 'recipe_engine/path',
12 'recipe_engine/platform', 13 'recipe_engine/platform',
13 'recipe_engine/properties', 14 'recipe_engine/properties',
14 'recipe_engine/raw_io', 15 'recipe_engine/raw_io',
15 'skia', 16 'run',
16 ] 17 ]
17 18
18 19
19 TEST_BUILDERS = { 20 TEST_BUILDERS = {
20 'client.skia': { 21 'client.skia': {
21 'skiabot-linux-swarm-000': [ 22 'skiabot-linux-swarm-000': [
22 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug', 23 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug',
23 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug', 24 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug',
24 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', 25 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug',
25 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot', 26 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot',
26 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug', 27 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug',
27 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', 28 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN',
28 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', 29 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
29 'Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Trybot', 30 'Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Trybot',
30 ], 31 ],
31 }, 32 },
32 } 33 }
33 34
34 35
35 def RunSteps(api): 36 def RunSteps(api):
36 api.skia.setup() 37 api.core.setup()
37 api.skia.test_steps() 38 api.core.test_steps()
38 api.skia.cleanup_steps() 39 api.core.cleanup_steps()
39 api.skia.check_failure() 40 api.run.check_failure()
40 41
41 42
42 def GenTests(api): 43 def GenTests(api):
43 def AndroidTestData(builder, adb=None): 44 def AndroidTestData(builder, adb=None):
44 test_data = ( 45 test_data = (
45 api.step_data( 46 api.step_data(
46 'get EXTERNAL_STORAGE dir', 47 'get EXTERNAL_STORAGE dir',
47 stdout=api.raw_io.output('/storage/emulated/legacy')) + 48 stdout=api.raw_io.output('/storage/emulated/legacy')) +
48 api.step_data( 49 api.step_data(
49 'read SKP_VERSION', 50 'read SKP_VERSION',
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 api.path.exists( 301 api.path.exists(
301 api.path['slave_build'].join('skia'), 302 api.path['slave_build'].join('skia'),
302 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 303 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
303 'skimage', 'VERSION'), 304 'skimage', 'VERSION'),
304 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 305 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
305 'skp', 'VERSION'), 306 'skp', 'VERSION'),
306 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 307 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
307 ) + 308 ) +
308 api.platform('win', 64) 309 api.platform('win', 64)
309 ) 310 )
310
311 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug'
312 yield (
313 api.test('legacy_skimage_version') +
314 api.properties(buildername=builder,
315 mastername='client.skia',
316 slavename='skiabot-linux-swarm-000',
317 buildnumber=6,
318 revision='abc123',
319 path_config='kitchen',
320 swarm_out_dir='[SWARM_OUT_DIR]') +
321 api.path.exists(
322 api.path['slave_build'].join('skia'),
323 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
324 'skp', 'VERSION'),
325 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
326 )
327 )
328
329 yield (
330 api.test('legacy_skp_version') +
331 api.properties(buildername=builder,
332 mastername='client.skia',
333 slavename='skiabot-linux-swarm-000',
334 buildnumber=6,
335 revision='abc123',
336 path_config='kitchen',
337 swarm_out_dir='[SWARM_OUT_DIR]') +
338 api.path.exists(
339 api.path['slave_build'].join('skia'),
340 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
341 'skimage', 'VERSION'),
342 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
343 )
344 )
OLDNEW
« no previous file with comments | « infra/bots/recipes/swarm_perf.py ('k') | infra/bots/recipes/swarm_test.expected/legacy_skimage_version.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698