blob: 0c7a35580f1f2235547976515429d3d079fc87a3 [file] [log] [blame]
Kaido Kertb1089432024-03-18 19:46:49 -07001# 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
7USE_PYTHON3 = True
8
9TEST_PATTERNS = [r'.+_test.py$']
10
11
12def CheckUnitTests(input_api, output_api):
13 # Runs all unit tests under the build/ios folder.
14 return input_api.canned_checks.RunUnitTestsInDirectory(
15 input_api,
16 output_api,
17 '.',
18 files_to_check=TEST_PATTERNS,
19 run_on_python2=False,
20 skip_shebang_check=True)