PRESUBMIT.py (423B)
1 # Copyright 2023 The Chromium Authors 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 PRESUBMIT_VERSION = '2.0.0' 6 7 8 TEST_PATTERNS = [r'.+_test.py$'] 9 10 11 def CheckUnitTests(input_api, output_api): 12 # Runs all unit tests under the build/ios folder. 13 return input_api.canned_checks.RunUnitTestsInDirectory( 14 input_api, output_api, '.', files_to_check=TEST_PATTERNS)