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
auth_test.py
bot_update_coverage_test.py Add --patch_ref to bot_update. 7 years ago
checkout_test.py
cipd_bootstrap_test.py [cipd] Try to bootstrap CIPD from scratch if selfupdate fails. 7 years ago
download_from_google_storage_unittest.py
fix_encoding_test.py
gclient_eval_unittest.py
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
gclient_utils_test.py
git_cache_test.py
git_cl_creds_check_report.txt
git_cl_test.py git cl: Start reporting metrics. 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: Separate metrics collection and print notice logic. 7 years ago
owners_finder_test.py
owners_unittest.py
patch_test.py
presubmit_unittest.py
recipes_test.py
roll_dep_test.py
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