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
Edward Lemur 6f812e132d metrics: Separate metrics collection and print notice logic.
As it is right now, when a function is collecting metrics it prints
the notice and calls sys.exit() to ensure the notice is the last thing
that is printed.

git-cl split has to call git-cl upload multiple times, but once it has
been called once, it exits, so only the first cl is uploaded.

This separates metrics collection from notice printing, so that the
function that is collecting metrics behaves like a function that isn't.
It also makes sure we don't collect metrics for multiple functions at
the same time.

Bug: 868280
Change-Id: Ic58ebe7d19e09ed85fa8b0af76dcbf608ee4c9bc
Reviewed-on: https://chromium-review.googlesource.com/1153503
Reviewed-by: Aaron Gable <agable@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
7 years ago
..
gstools Scripts to download files from google storage based on sha1 sums 12 years ago
auth_test.py [auth] cache LUCI_CONTEXT local_auth parameters. 7 years ago
bot_update_coverage_test.py Add --patch_ref to bot_update. 7 years ago
checkout_test.py Revert "Fix checkout.py issues when p.patchlevel > 1." 8 years ago
cipd_bootstrap_test.py [cipd] Try to bootstrap CIPD from scratch if selfupdate fails. 7 years ago
download_from_google_storage_unittest.py download_from_google_storage: allow normal files with .. 7 years ago
fix_encoding_test.py Standardize the sys.path fix up and fix a few pylint warnings. 14 years ago
gclient_eval_unittest.py Add a library for monitoring. 7 years ago
gclient_scm_test.py Reland "Reland "gclient_scm: Use cherry-picking instead of rebasing."" 7 years ago
gclient_smoketest.py gclient: run cipd ensure in paranoid mode. 7 years ago
gclient_test.py Add support to gclient for skipping CIPD deps. 7 years ago
gclient_utils_test.py gclient: Stop printing newline in front of "________ running hook" 8 years ago
git_cache_test.py git_cache: Add tests for reset fetch config. 7 years ago
git_cl_creds_check_report.txt git cl creds-check: improve report and give better recommendation. 8 years ago
git_cl_test.py git cl: Start reporting metrics. 7 years ago
git_common_test.py git_test_utils: Fixed custom git metadata in git commit schemas. 7 years ago
git_dates_test.py Added git hyper-blame, a tool that skips unwanted commits in git blame. 9 years ago
git_drover_test.py Reland "Use core.quotePath=false when git is listing files" 7 years ago
git_footers_test.py Let git_footers split final paragraphs in specific cases 7 years ago
git_hyper_blame_test.py git_hyper_blame_test: Fix pylint issue. 7 years ago
git_number_test.py Disable tests that break because of git 2.4 10 years ago
git_rebase_update_test.py Add better error messages to git_reparent_branch. 10 years ago
gsutil_test.py download_from_google_storage: Fix tests and rename 8 years ago
metrics_test.py metrics: Separate metrics collection and print notice logic. 7 years ago
owners_finder_test.py Skip files owned by reviewers when quering for missing owners. 7 years ago
owners_unittest.py owners: Add support for comments at the end of the line. 7 years ago
patch_test.py Fix applying svn:executable on Windows. 13 years ago
presubmit_unittest.py Add gclient_utils to InputAPI export. 7 years ago
recipes_test.py Stop running deprecated simulation_test 8 years ago
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 depot_tools: Replace pylint error numbers with symbolic names. 8 years ago
upload_to_google_storage_unittest.py tests: Use the right clean up method name for some test cases. 8 years ago
watchlists_unittest.py depot_tools: Replace pylint error numbers with symbolic names. 8 years ago