You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/tests
ilevy@chromium.org 7b677f7a11 Fix RunPylint affected files regex issue
The AffectedSourceFiles query matches against files with paths relative
to repository root.  On the other hand _FindAllFiles checks white_lists
and black_lists against files paths relative to PRESUBMIT.py

As a result, when a PRESUBMIT.py is not at RepositoryRoot, RunPylint
can misbehave.

I fix this by modifying the white_lists and black_list regexes to
include the relative directory of PRESUBMIT.py.

Also adding some logging to pylint and simplified misc logic.


Review URL: https://chromiumcodereview.appspot.com/11776016

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@175364 0039d316-1c4b-4281-b951-d872f2087c98
12 years ago
..
subversion_config Move commit-queue/checkout into depot_tools so it can be reused by the try server. 14 years ago
abandon.sh Add test for git-svn with submodule/merge layout. 13 years ago
basic.sh Add test for git-svn with submodule/merge layout. 13 years ago
breakpad_unittest.py Make sure that direct call to SendStack() doesn't send a stack trace for non googler 13 years ago
checkout_test.py Make apply_issue.py much more verbose about what it's doing. 13 years ago
fix_encoding_test.py Standardize the sys.path fix up and fix a few pylint warnings. 14 years ago
gcl_unittest.py Rollback UpgradeToHttps for viewvc links 12 years ago
gclient_scm_test.py Restore previous behavior of GetSha1ForSvnRev, so unit tests pass. 13 years ago
gclient_smoketest.py Remove more unversioned directories. 12 years ago
gclient_test.py Add gclient grep for git repos 12 years ago
gclient_utils_test.py Make gclient sync use cpu count for default jobs 13 years ago
git_cl_test.py Don't call settings.GetIsGerrit() before parser.parse_args() 12 years ago
hooks.sh Add test for git-svn with submodule/merge layout. 13 years ago
owners.sh Add test for git-svn with submodule/merge layout. 13 years ago
owners_unittest.py Try #3 to improve the owners suggesting algorithm. 12 years ago
patch.sh Add test for git-svn with submodule/merge layout. 13 years ago
patch_test.py Fix applying svn:executable on Windows. 13 years ago
post-dcommit-hook-test.sh Add test for git-svn with submodule/merge layout. 13 years ago
presubmit_unittest.py Fix RunPylint affected files regex issue 12 years ago
push-basic.sh Add test for git-svn with submodule/merge layout. 13 years ago
push-from-logs.sh options.from_logs is not used anywhere since it's the default. 13 years ago
rename.sh Add test for git-svn with submodule/merge layout. 13 years ago
rietveld_test.py Create CachingRietveld to automatically cache results for presubmit checks. 12 years ago
sample_pre_commit_hook Move commit-queue/checkout into depot_tools so it can be reused by the try server. 14 years ago
save-description-on-failure.sh Add test for git-svn with submodule/merge layout. 13 years ago
scm_unittest.py Restore previous behavior of GetSha1ForSvnRev, so unit tests pass. 13 years ago
submit-from-new-dir.sh Add test for git-svn with submodule/merge layout. 13 years ago
submodule-merge-test.sh Add test for git-svn with submodule/merge layout. 13 years ago
subprocess2_test.py Fix variable aliasing. Fixes pylint W0623. 13 years ago
test-lib.sh Add test for git-svn with submodule/merge layout. 13 years ago
trychange_unittest.py Make git try warn on a dirty index. 13 years ago
upload-local-tracking-branch.sh Add test for git-svn with submodule/merge layout. 13 years ago
upload-stale.sh Add test for git-svn with submodule/merge layout. 13 years ago
upstream.sh Add test for git-svn with submodule/merge layout. 13 years ago
watchlists_unittest.py Create a new testing_support module to move utility modules there 14 years ago