diff options
author | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-21 15:42:38 +0000 |
---|---|---|
committer | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-21 15:42:38 +0000 |
commit | 6be6338029d2993f1551d55172032d52193c9603 (patch) | |
tree | 59081dcc6f4de1b4c080467e59973774ca73afe2 /PRESUBMIT.py | |
parent | 0d25cb61d241f6d4449cf4c9b05104b1c5410a0d (diff) | |
download | chromium_src-6be6338029d2993f1551d55172032d52193c9603.zip chromium_src-6be6338029d2993f1551d55172032d52193c9603.tar.gz chromium_src-6be6338029d2993f1551d55172032d52193c9603.tar.bz2 |
PRESUBMIT.py: Run only PRESUBMIT_test.py if PRESUBMIT.py changes.
Previously, we used to run all _test.py files in this directory.
BUG=NONE
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12037006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r-- | PRESUBMIT.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index be3b5cf..93236ff 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -700,7 +700,7 @@ def _CommonChecks(input_api, output_api): results.extend(input_api.canned_checks.RunUnitTestsInDirectory( input_api, output_api, input_api.PresubmitLocalPath(), - whitelist=[r'.+_test\.py$'])) + whitelist=[r'^PRESUBMIT_test\.py$'])) return results |