blob: a2b798ee282ebf24aaa6a28f9db6c5ca51a89291 [file] [log] [blame]
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
USE_PYTHON3 = True
def CheckChangeOnCommit(input_api, output_api):
results = []
# Run the unit tests.
results.extend(
input_api.canned_checks.RunUnitTestsInDirectory(input_api,
output_api,
'.', [r'^.+_test\.py$'],
run_on_python2=False,
skip_shebang_check=True))
return results