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
Aaron Gable 873c28d175 Capture ctrl-c in presubmit multiprocessing pool
Presubmit spins up lots of multiprocessing processes to run
each individual test. If you cancel your presubmit run with
<ctrl>+c, that signal gets passed through to each of those,
which then raises its own KeyboardInterrupt, and prints its
own stacktrace.

This change has each member of the multiprocessing pool instead
exit gracefully (albeit with an error code) so that only the
parent process prints its stacktrace.

R=michaelpg@chromium.org

Bug: 635196
Change-Id: If9081910a359889a43bc1b72c91a859ebe37a1d6
Reviewed-on: https://chromium-review.googlesource.com/651764
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
8 years ago
..
gstools
abandon.sh
basic.sh
bot_update_coverage_test.py
checkout_test.py
download_from_google_storage_unittests.py
fix_encoding_test.py
gclient_eval_unittest.py gclient flatten: preserve variable placeholders (reland #1) 9 years ago
gclient_scm_test.py
gclient_smoketest.py gclient flatten: only print DEPS info referenced by recursedeps 8 years ago
gclient_test.py gclient flatten: fixes for --pin-all-deps 9 years ago
gclient_utils_test.py
git_cache_test.py
git_cl_creds_check_report.txt git cl creds-check: improve report and give better recommendation. 9 years ago
git_cl_test.py git cl creds-check: special case parsing of chromium.org emails. 9 years ago
git_common_test.py
git_dates_test.py
git_drover_test.py
git_footers_test.py git_footers: fix bug stdin-based message input. 9 years ago
git_hyper_blame_test.py GitHyperBlameMainTest.testBadFilename: Work around git-blame bug. 9 years ago
git_number_test.py
git_rebase_update_test.py
gsutil_test.py
hooks.sh
owners.sh
owners_finder_test.py
owners_unittest.py
patch.sh
patch_test.py
post-land-hook-test.sh
presubmit_unittest.py Capture ctrl-c in presubmit multiprocessing pool 8 years ago
push-from-logs.sh
recipes_test.py
rietveld_test.py
save-description-on-failure.sh
scm_unittest.py
submit-from-new-dir.sh
subprocess2_test.py
test-lib.sh
upload-local-tracking-branch.sh
upload-stale.sh
upload_to_google_storage_unittests.py
watchlists_unittest.py