xref: /aosp_15_r20/external/cronet/build/ios/PRESUBMIT.py (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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
5PRESUBMIT_VERSION = '2.0.0'
6
7
8TEST_PATTERNS = [r'.+_test.py$']
9
10
11def 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)
15