diff options
author | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-03 20:28:00 +0000 |
---|---|---|
committer | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-03 20:28:00 +0000 |
commit | 8e100c12013af2d9d91848d03f66021fe8a986d6 (patch) | |
tree | 863fbe2d86efbcb0426531f64587d51311d77875 /native_client_sdk/PRESUBMIT.py | |
parent | f85336586eb978d9e5da010a9956190541e996aa (diff) | |
download | chromium_src-8e100c12013af2d9d91848d03f66021fe8a986d6.zip chromium_src-8e100c12013af2d9d91848d03f66021fe8a986d6.tar.gz chromium_src-8e100c12013af2d9d91848d03f66021fe8a986d6.tar.bz2 |
[NaCl SDK] Fix PRESUBMIT.py on Windows.
The blacklist on the test directory didn't check for Windows paths.
BUG=none
R=sbc@chromium.org
TBR=binji@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11048024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159965 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/PRESUBMIT.py')
-rw-r--r-- | native_client_sdk/PRESUBMIT.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/native_client_sdk/PRESUBMIT.py b/native_client_sdk/PRESUBMIT.py index c6e613d..5faf369 100644 --- a/native_client_sdk/PRESUBMIT.py +++ b/native_client_sdk/PRESUBMIT.py @@ -18,9 +18,7 @@ def CommonChecks(input_api, output_api): 'E1103', # subprocess.communicate() generates these :( 'R0201', # method could be function (doesn't reference self) ] - black_list = [r'src/build_tools/tests/.*', - r'src/site_scons/.*', - ] + black_list = [r'src[\\\/]build_tools[\\\/]tests[\\\/].*'] canned = input_api.canned_checks output.extend(canned.RunPylint(input_api, output_api, black_list=black_list, disabled_warnings=disabled_warnings)) |