1# Copyright 2018 the V8 project authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5def CheckChangeOnCommit(input_api, output_api): 6 # TODO(machenbach): Run all unittests. 7 tests = input_api.canned_checks.GetUnitTestsInDirectory( 8 input_api, output_api, '.', whitelist=['run_tests_test.py$']) 9 return input_api.RunTests(tests) 10