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

Side by Side Diff: scripts/slave/recipes/libyuv/libyuv.py

Issue 1873713002: libyuv: Don't run libyuv_unittest for GN bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | scripts/slave/recipes/libyuv/libyuv.expected/client_libyuv_linux64_debug__gn_.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 for building and running tests for Libyuv stand-alone. 6 Recipe for building and running tests for Libyuv stand-alone.
7 """ 7 """
8 8
9 from recipe_engine.types import freeze 9 from recipe_engine.types import freeze
10 10
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 api.chromium.apply_config('trybot_flavor') 788 api.chromium.apply_config('trybot_flavor')
789 789
790 api.bot_update.ensure_checkout(force=True) 790 api.bot_update.ensure_checkout(force=True)
791 api.chromium.runhooks() 791 api.chromium.runhooks()
792 792
793 if api.chromium.c.project_generator.tool == 'gn': 793 if api.chromium.c.project_generator.tool == 'gn':
794 api.chromium.run_gn(use_goma=True) 794 api.chromium.run_gn(use_goma=True)
795 api.chromium.compile(targets=['all']) 795 api.chromium.compile(targets=['all'])
796 else: 796 else:
797 api.chromium.compile() 797 api.chromium.compile()
798 798 if api.chromium.c.TARGET_PLATFORM in ('win', 'mac', 'linux'):
799 if api.chromium.c.TARGET_PLATFORM in ('win', 'mac', 'linux'): 799 api.chromium.runtest('libyuv_unittest')
800 api.chromium.runtest('libyuv_unittest')
801 800
802 801
803 def _sanitize_nonalpha(text): 802 def _sanitize_nonalpha(text):
804 return ''.join(c if c.isalnum() else '_' for c in text.lower()) 803 return ''.join(c if c.isalnum() else '_' for c in text.lower())
805 804
806 805
807 def GenTests(api): 806 def GenTests(api):
808 def generate_builder(mastername, buildername, revision, suffix=None): 807 def generate_builder(mastername, buildername, revision, suffix=None):
809 suffix = suffix or '' 808 suffix = suffix or ''
810 bot_config = BUILDERS[mastername]['builders'][buildername] 809 bot_config = BUILDERS[mastername]['builders'][buildername]
(...skipping 23 matching lines...) Expand all
834 833
835 # Forced builds (not specifying any revision) and test failures. 834 # Forced builds (not specifying any revision) and test failures.
836 mastername = 'client.libyuv' 835 mastername = 'client.libyuv'
837 yield generate_builder(mastername, 'Linux64 Debug', revision=None, 836 yield generate_builder(mastername, 'Linux64 Debug', revision=None,
838 suffix='_forced') 837 suffix='_forced')
839 yield generate_builder(mastername, 'Android Debug', revision=None, 838 yield generate_builder(mastername, 'Android Debug', revision=None,
840 suffix='_forced') 839 suffix='_forced')
841 840
842 yield generate_builder('tryserver.libyuv', 'linux', revision=None, 841 yield generate_builder('tryserver.libyuv', 'linux', revision=None,
843 suffix='_forced') 842 suffix='_forced')
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/libyuv/libyuv.expected/client_libyuv_linux64_debug__gn_.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698