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
Bruce Dawson 8d78bd1fc1 Print which PRESUBMIT.py scripts run on Python 2
When running presubmits you can tell if Python 2 presubmits are running,
but it's subtle, and it isn't obvious which presubmits are running under
Python 2.

This makes it obvious by always printing the path to PRESUBMIT.py
scripts that are run under Python 2. This change also fixes a bug in the
--verbose logic - it would print that a script was running before
evaluating _ShouldRunPresubmit.

Bug: 1352347
Change-Id: I45213acdb3b37f7be0713e5caba775841704817c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3826917
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
3 years ago
..
gstools
OWNERS autoninja: add simple test 3 years ago
PRESUBMIT.py
auth_test.py
autoninja_test.py autoninja: add simple test 3 years ago
bot_update_coverage_test.py [no-sync] bot_update: Remove previous no-sync exp changes and implement new one. 3 years ago
cipd_bootstrap_test.py
detect_host_arch_test.py
download_from_google_storage_unittest.py Skip 'ls' when downloading from gs. 3 years ago
fetch_test.py Reland "Update fetch protocol using --protocol-override flag" 3 years ago
fix_encoding_test.py Make fix_encoding_test py3 compatible 4 years ago
gclient_cipd_smoketest.py Override cipd install mode for runhooks 3 years ago
gclient_eval_unittest.py
gclient_git_mutates_smoketest.py
gclient_git_smoketest.py [no-sync] Set _should_sync and add flag to control if the experiment should be enabled. 3 years ago
gclient_no_sync_smoketest.py [no-sync] Save previous values to files. 3 years ago
gclient_paths_test.py
gclient_scm_test.py [no-sync] Add method to check for diffs between the current checkout and another commit. 3 years ago
gclient_smoketest.py
gclient_smoketest_base.py Use pylint 2.7 for depot_tools 4 years ago
gclient_test.py [no-sync] Save previous values to files. 3 years ago
gclient_transitions_smoketest.py
gclient_utils_test.py Update gclient cloning to work with cog. 3 years ago
gerrit_client_test.py Add a 'setlabel' command to gerrit_client.py 4 years ago
gerrit_util_test.py
git_cache_test.py
git_cl_creds_check_report.txt
git_cl_test.py [git-cl] If set, use `options.title` for initial uploads. 3 years ago
git_common_test.py Fix git_common_test.py: git checkout -tb -> git checkout -t -b 4 years ago
git_dates_test.py
git_find_releases_test.py Use pylint 2.7 for depot_tools 4 years ago
git_footers_test.py Use main branch as the default branch 4 years ago
git_hyper_blame_test.py
git_map_test.py Use main branch as the default branch 4 years ago
git_migrate_default_branch_test.py Use pylint 2.7 for depot_tools 4 years ago
git_number_test.py
git_rebase_update_test.py Remove 'Fetching' check in testTrackTag 3 years ago
gsutil_test.py Refactor gsutil and fix concurrecny issue on MacOS 4 years ago
lockfile_test.py
metrics_test.py Use main branch as the default branch 4 years ago
my_activity_test.py Require certifi package and python3 in my_activity 4 years ago
ninjalog_uploader_test.py fix ninjalog_uploader.py 4 years ago
owners_client_test.py Add BatchListBestOwners and ListBestOwners to GerritClient 3 years ago
owners_finder_test.py
owners_unittest.py Revert "Remove old DepotToolsOwners implementation" 3 years ago
presubmit_unittest.py Print which PRESUBMIT.py scripts run on Python 2 3 years ago
rdb_wrapper_test.py
recipes_test.py add vpython3 to tests that run under vpython3 4 years ago
roll_dep_test.py
scm_unittest.py Refresh remote HEAD if matches legacy default 4 years ago
split_cl_test.py Update format of `git cl split` 4 years ago
subcommand_test.py
subprocess2_test.py Use pylint 2.7 for depot_tools 4 years ago
upload_to_google_storage_unittest.py Set cache-control when uploading to google storage 4 years ago
utils_test.py Add a basic depot_tools version information 3 years ago
watchlists_unittest.py