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
hinoka@google.com c82706326c Adds --auto_platform to download_from_google_storage.
A very common pattern for the users of this script is to have binaries in
three different folders, eg:
some/folder/win/bin.exe
some/folder/mac/bin
some/folder/linux/bin

Instead of using --platform to specify three different paths, we can recognize
this usage and pass in --auto_platform, and then --directory some/folder/ as the
target.

When enumerating files, it will match each individual file to see if they have
(win|mac|linux) as a parent folder name, and filter out non-matching platforms.

BUG=
TEST= src/third_party/clang_format/bin$ download_from_google_storage --auto_platform --no_auth -b chromium-clang-fomat -dr .
0> Downloading ./linux/clang-format...

Review URL: https://codereview.chromium.org/126893002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@245643 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
..
gstools Scripts to download files from google storage based on sha1 sums 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 Fix depot_tools tests external dependency 12 years ago
basic.sh git_cl.py: In the "status" command, add space after the branch name. 12 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 Return unicode commit hashes in checkout.GitCheckout. 12 years ago
download_from_google_storage_unittests.py Adds --auto_platform to download_from_google_storage. 11 years ago
fix_encoding_test.py Standardize the sys.path fix up and fix a few pylint warnings. 14 years ago
gcl_unittest.py Indiciate the tree status in the rietveld message when bypassing hooks 11 years ago
gclient_scm_test.py Revert of If the destination directory doesn't contain the desired repo, delete it (https://codereview.chromium.org/61623008/) 11 years ago
gclient_smoketest.py Revert of If the destination directory doesn't contain the desired repo, delete it (https://codereview.chromium.org/61623008/) 11 years ago
gclient_test.py Handle conflicting os deps better in gclient. 12 years ago
gclient_utils_test.py Depot tools: use the clang-format binaries that are now included 11 years ago
git_cl_test.py Add support for BUG_PREFIX in codereview.settings. 11 years ago
git_common_test.py Avoid windows presubmit hang in gclient tests. 12 years ago
git_number_test.py Add git-number script to calculate generation numbers for commits. 12 years ago
hooks.sh Add test for git-svn with submodule/merge layout. 13 years ago
owners.sh Fix depot_tools tests external dependency 12 years ago
owners_finder_test.py An interactive tool to help find owners covering current change list. 12 years ago
owners_unittest.py Add a way to require approval from owners other than the author. 12 years ago
patch.sh Fix depot_tools tests external dependency 12 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 Do not tell people to ask me for help. I won't help them. 11 years ago
push-basic.sh git_cl.py: In the "status" command, add space after the branch name. 12 years ago
push-from-logs.sh git_cl.py: In the "status" command, add space after the branch name. 12 years ago
rename.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 12 years ago
rietveld_test.py Have Rietveld.get_description() consistently strip CR and whitespace. 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 Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 12 years ago
scm_unittest.py Removes DiffItem, which was unused, and moves _DiffItemInternal below GenerateDiff, now its lone caller. 12 years ago
submit-from-new-dir.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 12 years ago
submodule-merge-test.sh Add test for git-svn with submodule/merge layout. 13 years ago
subprocess2_test.py Fix many (but not all[1]) depot_tools tests on Windows. 12 years ago
test-lib.sh Fix upstream.sh presubmit test for git 1.8.3+ 12 years ago
trychange_unittest.py Rework bot and test parsing to allow receipt of (bot, set(test)) specifications. 12 years ago
upload-local-tracking-branch.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 12 years ago
upload-stale.sh Fix depot_tools tests external dependency 12 years ago
upload_to_google_storage_unittests.py Add no_auth flag to skip auth checking for buckets that don't require it. Also fix tests 12 years ago
upstream.sh Fix upstream.sh presubmit test for git 1.8.3+ 12 years ago
watchlists_unittest.py Create a new testing_support module to move utility modules there 14 years ago