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

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

Issue 2189393002: Stop running nanobench on Test.*Debug bots (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix upload_perf_results 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 trigger. 6 # Recipe module for Skia Swarming trigger.
7 7
8 8
9 import json 9 import json
10 10
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 test += api.properties(issue=500, 680 test += api.properties(issue=500,
681 patchset=1, 681 patchset=1,
682 rietveld='https://codereview.chromium.org') 682 rietveld='https://codereview.chromium.org')
683 if 'Android' in builder: 683 if 'Android' in builder:
684 paths.append(api.path['slave_build'].join( 684 paths.append(api.path['slave_build'].join(
685 'skia', 'infra', 'bots', 'assets', 'android_sdk', 'VERSION')) 685 'skia', 'infra', 'bots', 'assets', 'android_sdk', 'VERSION'))
686 if 'Test' in builder and 'Coverage' not in builder: 686 if 'Test' in builder and 'Coverage' not in builder:
687 test += api.step_data( 687 test += api.step_data(
688 'upload new .isolated file for test_skia', 688 'upload new .isolated file for test_skia',
689 stdout=api.raw_io.output('def456 XYZ.isolated')) 689 stdout=api.raw_io.output('def456 XYZ.isolated'))
690 if ('Test' in builder and 'Debug' in builder) or 'Perf' in builder or ( 690 if 'Perf' in builder:
691 'Valgrind' in builder and 'Test' in builder):
692 test += api.step_data( 691 test += api.step_data(
693 'upload new .isolated file for perf_skia', 692 'upload new .isolated file for perf_skia',
694 stdout=api.raw_io.output('def456 XYZ.isolated')) 693 stdout=api.raw_io.output('def456 XYZ.isolated'))
695 if 'Housekeeper' in builder and 'RecreateSKPs' not in builder: 694 if 'Housekeeper' in builder and 'RecreateSKPs' not in builder:
696 test += api.step_data( 695 test += api.step_data(
697 'upload new .isolated file for housekeeper_skia', 696 'upload new .isolated file for housekeeper_skia',
698 stdout=api.raw_io.output('def456 XYZ.isolated')) 697 stdout=api.raw_io.output('def456 XYZ.isolated'))
699 if 'Win' in builder: 698 if 'Win' in builder:
700 paths.append(api.path['slave_build'].join( 699 paths.append(api.path['slave_build'].join(
701 'skia', 'infra', 'bots', 'assets', 'win_toolchain', 'VERSION')) 700 'skia', 'infra', 'bots', 'assets', 'win_toolchain', 'VERSION'))
702 paths.append(api.path['slave_build'].join( 701 paths.append(api.path['slave_build'].join(
703 'skia', 'infra', 'bots', 'assets', 'win_vulkan_sdk', 'VERSION')) 702 'skia', 'infra', 'bots', 'assets', 'win_vulkan_sdk', 'VERSION'))
704 paths.append(api.path['slave_build'].join( 703 paths.append(api.path['slave_build'].join(
705 'skia', 'infra', 'bots', 'assets', 'skimage', 'VERSION')) 704 'skia', 'infra', 'bots', 'assets', 'skimage', 'VERSION'))
706 paths.append(api.path['slave_build'].join( 705 paths.append(api.path['slave_build'].join(
707 'skia', 'infra', 'bots', 'assets', 'skp', 'VERSION')) 706 'skia', 'infra', 'bots', 'assets', 'skp', 'VERSION'))
708 707
709 test += api.path.exists(*paths) 708 test += api.path.exists(*paths)
710 709
711 return test 710 return test
712 711
713 712
714 def GenTests(api): 713 def GenTests(api):
715 for mastername, slaves in TEST_BUILDERS.iteritems(): 714 for mastername, slaves in TEST_BUILDERS.iteritems():
716 for slavename, builders_by_slave in slaves.iteritems(): 715 for slavename, builders_by_slave in slaves.iteritems():
717 for builder in builders_by_slave: 716 for builder in builders_by_slave:
718 yield test_for_bot(api, builder, mastername, slavename) 717 yield test_for_bot(api, builder, mastername, slavename)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698