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

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.py

Issue 1920283002: Modify Skia recipes to allow running XSAN on Swarming. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Changes based on code review. Created 4 years, 7 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 trigger. 6 # Recipe module for Skia Swarming trigger.
7 7
8 8
9 import json 9 import json
10 10
(...skipping 27 matching lines...) Expand all
38 'skiabot-linux-housekeeper-003': [ 38 'skiabot-linux-housekeeper-003': [
39 'Build-Mac-Clang-x86_64-Release-Swarming', 39 'Build-Mac-Clang-x86_64-Release-Swarming',
40 'Build-Ubuntu-GCC-x86_64-Debug-Swarming', 40 'Build-Ubuntu-GCC-x86_64-Debug-Swarming',
41 'Build-Ubuntu-GCC-x86_64-Release-Swarming-Trybot', 41 'Build-Ubuntu-GCC-x86_64-Release-Swarming-Trybot',
42 'Build-Win8-MSVC-x86_64-Release-Swarming', 42 'Build-Win8-MSVC-x86_64-Release-Swarming',
43 'Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Swarming-Trybot', 43 'Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Swarming-Trybot',
44 'Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release-Swarming', 44 'Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release-Swarming',
45 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release-Swarming', 45 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release-Swarming',
46 'Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-Swarming', 46 'Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-Swarming',
47 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Swarming', 47 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Swarming',
48 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-SwarmingMSAN',
48 'Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release-Swarming', 49 'Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release-Swarming',
49 'Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Swarming', 50 'Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Swarming',
50 ], 51 ],
51 }, 52 },
52 } 53 }
53 54
54 55
55 def derive_compile_bot_name(builder_name, builder_spec): 56 def derive_compile_bot_name(builder_name, builder_spec):
56 builder_cfg = builder_spec['builder_cfg'] 57 builder_cfg = builder_spec['builder_cfg']
57 if builder_cfg['role'] in ('Test', 'Perf'): 58 if builder_cfg['role'] in ('Test', 'Perf'):
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Swarming' 556 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Swarming'
556 master = 'client.skia' 557 master = 'client.skia'
557 slave = 'skiabot-linux-test-000' 558 slave = 'skiabot-linux-test-000'
558 test = test_for_bot(api, builder, master, slave, 'No_downloaded_SKP_VERSION') 559 test = test_for_bot(api, builder, master, slave, 'No_downloaded_SKP_VERSION')
559 test += api.step_data('Get downloaded SKP_VERSION', retcode=1) 560 test += api.step_data('Get downloaded SKP_VERSION', retcode=1)
560 test += api.path.exists( 561 test += api.path.exists(
561 api.path['slave_build'].join('skia'), 562 api.path['slave_build'].join('skia'),
562 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 563 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
563 ) 564 )
564 yield test 565 yield test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698