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.
Instead of printing a command-line, we just directly call into the respective main functions from Python. This saves spawning another interpreter and prevents things that can go wrong from having to quote, unquote, split and tunnel arguments through shells. Part of my bigger auto{ninja,siso} refactoring. Tested: - Handling of the ^^ suffix on Windows still works correctly. - Handling of error codes - i.e.; making sure "autoninja base_unittests && base_unittests.exe" behaves properly in the success/failure case. - Make sure the command prompt title is reliably reset on exit. I tested autoninja with all combinations of these: - Host platform: Linux, macOS, Windows - Remote GN args: <none>, use_goma=true, use_remoteexec=true - Siso GN args: <none>, use_siso=true - Targets: base, ../../base/types/expected_macros_unittest.cc^ (on Linux) and ../../base/types/expected_macros_unittest.cc^^ (on Windows) R=brucedawson@chromium.org, jwata@google.com, tikuta@chromium.org Bug: b/293657720 Change-Id: I275a775fdc5abb6555f79d4beab76cd0914d4bd6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4924185 Reviewed-by: Takuto Ikuta <tikuta@chromium.org> Reviewed-by: Junji Watanabe <jwata@google.com> Commit-Queue: Philipp Wollermann <philwo@chromium.org> |
2 years ago | |
---|---|---|
.. | ||
gstools | ||
OWNERS | 2 years ago | |
auth_test.py | 2 years ago | |
autoninja_test.py | 2 years ago | |
bazel_test.py | 2 years ago | |
bot_update_coverage_test.py | 2 years ago | |
cipd_bootstrap_test.py | 2 years ago | |
detect_host_arch_test.py | 2 years ago | |
download_from_google_storage_unittest.py | 2 years ago | |
fetch_test.py | 2 years ago | |
fix_encoding_test.py | 2 years ago | |
gclient_cipd_smoketest.py | 2 years ago | |
gclient_eval_unittest.py | 2 years ago | |
gclient_git_mutates_smoketest.py | 2 years ago | |
gclient_git_smoketest.py | 2 years ago | |
gclient_no_sync_smoketest.py | 2 years ago | |
gclient_paths_test.py | 2 years ago | |
gclient_scm_test.py | 2 years ago | |
gclient_smoketest.py | 2 years ago | |
gclient_smoketest_base.py | 2 years ago | |
gclient_test.py | 2 years ago | |
gclient_transitions_smoketest.py | 2 years ago | |
gclient_utils_test.py | 2 years ago | |
gerrit_client_test.py | 2 years ago | |
gerrit_util_test.py | 2 years ago | |
git_cache_test.py | 2 years ago | |
git_cl_creds_check_report.txt | 2 years ago | |
git_cl_test.py | 2 years ago | |
git_common_test.py | 2 years ago | |
git_dates_test.py | 2 years ago | |
git_find_releases_test.py | 2 years ago | |
git_footers_test.py | 2 years ago | |
git_hyper_blame_test.py | 2 years ago | |
git_map_test.py | 2 years ago | |
git_migrate_default_branch_test.py | 2 years ago | |
git_number_test.py | 2 years ago | |
git_rebase_update_test.py | 2 years ago | |
gsutil_test.py | 2 years ago | |
hooks_test.py | 2 years ago | |
lockfile_test.py | 2 years ago | |
metrics_test.py | 2 years ago | |
my_activity_test.py | 2 years ago | |
ninja_reclient_test.py | 2 years ago | |
ninjalog_uploader_test.py | 2 years ago | |
owners_client_test.py | 2 years ago | |
owners_finder_test.py | 2 years ago | |
presubmit_canned_checks_test.py | 2 years ago | |
presubmit_unittest.py | 2 years ago | |
rdb_wrapper_test.py | 2 years ago | |
recipes_test.py | 2 years ago | |
reclient_metrics_test.py | 2 years ago | |
roll_dep_test.py | 2 years ago | |
scm_unittest.py | 2 years ago | |
split_cl_test.py | 2 years ago | |
subcommand_test.py | 2 years ago | |
subprocess2_test.py | 2 years ago | |
upload_to_google_storage_unittest.py | 2 years ago | |
utils_test.py | 2 years ago | |
watchlists_unittest.py | 2 years ago |