| Index: PRESUBMIT.py
|
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py
|
| index 61df560126145e075bb67c93864b922fad13f6ee..59619ce3506be5c7fef3c49475e24d619caed94b 100644
|
| --- a/PRESUBMIT.py
|
| +++ b/PRESUBMIT.py
|
| @@ -17,6 +17,8 @@ def CommonChecks(input_api, output_api):
|
| sys_path_backup = sys.path
|
| try:
|
| sys.path = [
|
| + input_api.PresubmitLocalPath(),
|
| + join('googletest'),
|
| join('tests', 'gtest_fake'),
|
| ] + sys.path
|
| output.extend(input_api.canned_checks.RunPylint(input_api, output_api))
|
| @@ -38,6 +40,12 @@ def CommonChecks(input_api, output_api):
|
| input_api.os_path.join(input_api.PresubmitLocalPath(), 'tests'),
|
| whitelist=[r'.+_test\.py$'],
|
| blacklist=integation_tests))
|
| + output.extend(
|
| + input_api.canned_checks.RunUnitTestsInDirectory(
|
| + input_api, output_api,
|
| + input_api.os_path.join(
|
| + input_api.PresubmitLocalPath(), 'googletest', 'tests'),
|
| + whitelist=[r'.+_test\.py$']))
|
|
|
| if input_api.is_committing:
|
| output.extend(input_api.canned_checks.PanProjectChecks(input_api,
|
|
|