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
Corentin Wallez a68660d0bb gclient: add use_relative_hooks
When a recursive dependency has use_relative_paths it also makes sense
to have the hooks working directory by the dependency's directory.
Otherwise if a hook uses one of the relative dependencies it is impossible
to know which path prefix to use.

However we cannot change the behavior of hooks with use_relative_paths
because it would break existing projects that use_relative_paths but
hardcoded the prefix for hooks. Instead we add a second boolean,
use_relative_hooks that triggers the behavior.

Adds tests for the new behavior and a test for existing interactio
between hooks and recursedeps.

BUG=chromium:875245

Change-Id: Ie4c526baa425ff887b3be54e0feca7c597ededec
Reviewed-on: https://chromium-review.googlesource.com/1213327
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
7 years ago
..
gstools
auth_test.py
bot_update_coverage_test.py bot_update: remove --gerrit_repo and --gerrit_ref. 7 years ago
checkout_test.py
cipd_bootstrap_test.py [cipd] Check CIPD client hash against pinned SHA256 during updates. 7 years ago
download_from_google_storage_unittest.py
fix_encoding_test.py
gclient_eval_unittest.py gclient_eval: Handle non-string variables. 7 years ago
gclient_scm_test.py gclient_scm: Add option to specify the branch the patch is based on. 7 years ago
gclient_smoketest.py gclient: add use_relative_hooks 7 years ago
gclient_test.py gclient: add use_relative_hooks 7 years ago
gclient_utils_test.py
git_cache_test.py git_cache: Add tests for reset fetch config. 7 years ago
git_cl_creds_check_report.txt
git_cl_test.py git cl: now fully use project~changenum when querying Gerrit. 7 years ago
git_common_test.py
git_dates_test.py
git_drover_test.py
git_footers_test.py
git_hyper_blame_test.py git_hyper_blame_test: Fix pylint issue. 7 years ago
git_number_test.py
git_rebase_update_test.py
gsutil_test.py
metrics_test.py metrics: Deal with permission denied when writing metrics.cfg. 7 years ago
owners_finder_test.py
owners_unittest.py [owners.py] require stricter naming conventions for file: includes 7 years ago
patch_test.py
presubmit_unittest.py Clarify OWNERS error if using TBR. 7 years ago
recipes_test.py
roll_dep_test.py Add a library for monitoring. 7 years ago
scm_unittest.py Reland "Reland "gclient_scm: Use cherry-picking instead of rebasing."" 7 years ago
subprocess2_test.py
upload_to_google_storage_unittest.py
watchlists_unittest.py