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/testing_support
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
..
__init__.py
auto_stub.py
cipd gclient: Add a test to make sure we're syncing CIPD dependencies. 7 years ago
cipd.bat gclient: Add a test to make sure we're syncing CIPD dependencies. 7 years ago
coverage_utils.py Disable coverage in depot_tools tests. 8 years ago
fake_cipd.py gclient: Add a test to make sure we're syncing CIPD dependencies. 7 years ago
fake_repos.py gclient: add use_relative_hooks 7 years ago
filesystem_mock.py
gerrit-init.sh
gerrit_test_case.py Reland "Refactor ReadHttpResponse to be error-friendlier" 8 years ago
git_test_utils.py git_test_utils: Fixed custom git metadata in git commit schemas. 7 years ago
patches_data.py
super_mox.py depot_tools: Replace pylint error numbers with symbolic names. 8 years ago
trial_dir.py