cargo/tests/testsuite
bors 92395d9010 Auto merge of #13236 - heisen-li:test, r=epage
Clarify the function of the test options

### What does this PR try to resolve?

Make the description of test options clearer.

from #10936
2024-01-12 22:20:03 +00:00
..
cargo Fix z_help test case 2024-01-11 17:10:51 +09:00
cargo_add Auto merge of #13272 - linyihai:cargo-add-public-manpage, r=epage 2024-01-11 21:13:02 +00:00
cargo_bench Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_build Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_check Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_clean Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_config Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_doc Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_fetch Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_fix Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_generate_lockfile Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_git_checkout test(cli): Track --help output 2023-07-24 17:12:20 -05:00
cargo_help Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_init Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_install fix(cargo-install): clarify --path is installation source 2023-12-26 10:42:57 -05:00
cargo_locate_project Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_login Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_logout Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_metadata Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_new test: add lints 2024-01-09 21:49:33 +08:00
cargo_owner Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_package Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_pkgid Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_publish Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_read_manifest Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_remove Add features to the default Cargo.toml file 2023-11-19 22:03:57 +08:00
cargo_report Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_run Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_rustc Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_rustdoc Add unstable --output-format option to "rustdoc" 2024-01-11 17:37:56 +02:00
cargo_search Auto merge of #12962 - hi-rustin:rustin-patch-cargo-search, r=weihanglo 2023-11-13 12:40:10 +00:00
cargo_test delete --lib unit test description 2024-01-05 11:40:33 +08:00
cargo_tree Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_uninstall Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_update Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_vendor Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_verify_project Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_version Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
cargo_yank Fix --quiet being used with nested subcommands. 2023-11-12 11:17:43 -08:00
mock-std fix: hack around libsysroot instead of libtest 2023-05-05 14:48:37 +01:00
advanced_env.rs Enable source_config_env test on Windows 2023-01-14 09:48:46 -08:00
alt_registry.rs feat: Add rustc style errors for manifest parsing 2023-12-15 13:30:10 -07:00
artifact_dep.rs Fix some test output validation. 2023-11-15 15:10:18 -08:00
bad_config.rs feat: Add rustc style errors for manifest parsing 2023-12-15 13:30:10 -07:00
bad_manifest_path.rs chore: update bad_manifest_path test to use check 2023-02-15 15:28:48 -06:00
bench.rs test: move --keep-going suggestion match tests to UI tests 2023-08-22 19:21:09 +01:00
binary_name.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
build.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
build_plan.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
build_script.rs Add tests for msrv check 2023-12-23 13:24:53 +08:00
build_script_env.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
build_script_extra_link_arg.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
cache_lock.rs Rewrite the cache locker to use functions instead of macros. 2023-10-08 14:16:51 -07:00
cache_messages.rs chore: update cache_messages test to use check 2023-02-20 12:20:26 -06:00
cargo_alias_config.rs fix(toml): Remove redundant error messages 2023-08-24 16:19:48 -05:00
cargo_command.rs fix(cli): Suggest cargo-search on bad commands 2023-10-17 14:46:30 -05:00
cargo_env_config.rs Disallow RUSTUP_TOOLCHAIN in the [env] table. 2023-05-08 09:30:59 -07:00
cargo_features.rs feat: Add rustc style errors for manifest parsing 2023-12-15 13:30:10 -07:00
cargo_targets.rs Warn if an "all" target is specified, but we don't match anything 2021-06-09 19:29:24 +02:00
cfg.rs chore: update cfg tests to use check 2023-02-20 12:20:26 -06:00
check.rs Fix cargo errors counter 2023-11-29 18:47:14 +02:00
check_cfg.rs Update other docs to use cargo:: syntax 2023-12-23 13:17:55 +08:00
clean.rs refactor: replace iter_join with itertools::join 2024-01-09 15:38:22 -05:00
collisions.rs feat(doc): Print the generated docs links 2023-10-19 10:51:56 -05:00
concurrent.rs Re-enable killing_cargo_releases_the_lock on windows. 2022-08-02 12:30:42 -07:00
config.rs refactor(schemas): Pull out cargo-util-schemas crate 2023-12-15 13:22:25 -06:00
config_cli.rs Merge higher precedence config lists later 2023-08-16 11:21:38 -05:00
config_include.rs test(config-include): assert config merged in DFS 2023-06-21 20:18:09 +01:00
corrupt_git.rs chore: update corrupt_git tests to use check 2023-02-20 12:20:46 -06:00
credential_process.rs chore: Fix typos 2023-09-19 15:28:48 -05:00
cross_compile.rs Deprecate rustc plugin support in cargo 2024-01-04 13:17:50 +01:00
cross_publish.rs Reword published/completed to uploaded/published 2023-03-15 08:15:00 -07:00
custom_target.rs Ignore changing_spec_relearns_crate_types on windows-gnu 2023-11-13 19:17:51 -08:00
death.rs bug: corruption when killed while writing 2023-10-01 08:29:24 -04:00
dep_info.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
direct_minimal_versions.rs feat(resolver): -Zdirect-minimal-versions 2023-02-14 15:44:30 -06:00
directory.rs Add additional info on a new line 2023-06-05 11:27:31 +02:00
doc.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
docscrape.rs Don't filter on workspace members when scraping doc examples 2023-11-30 17:38:49 +01:00
edition.rs chore: update edition tests to use check 2023-02-20 12:21:15 -06:00
error.rs
features.rs refactor(util-schemas): error type for restricted_names 2023-12-20 10:38:02 -05:00
features2.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
features_namespaced.rs feat: Add rustc style errors for manifest parsing 2023-12-15 13:30:10 -07:00
fetch.rs Fix some test output validation. 2023-11-15 15:10:18 -08:00
fix.rs cargo fix: Call rustc fewer times. 2024-01-02 15:03:06 -08:00
fix_n_times.rs cargo fix: Call rustc fewer times. 2024-01-02 15:03:06 -08:00
freshness.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
future_incompat_report.rs fix(update): Make -p more convenient by being positional 2023-08-23 11:57:36 -05:00
generate_lockfile.rs Fix some test output validation. 2023-11-15 15:10:18 -08:00
git.rs feat: Add rustc style errors for manifest parsing 2023-12-15 13:30:10 -07:00
git_auth.rs re-enable flaky tests thanks to update to gix-config. (#11821) 2023-12-07 10:19:07 +01:00
git_gc.rs add -Zgitoxide=fetch feature toggle and implementation. 2023-03-02 12:35:50 +01:00
git_shallow.rs Implementation of shallow libgit2 fetches behind an unstable flag 2024-01-11 17:08:21 +09:00
glob_targets.rs feat(doc): Print the generated docs links 2023-10-19 10:51:56 -05:00
global_cache_tracker.rs Remove repetitive words 2023-12-29 13:55:24 +08:00
help.rs test: loop over aliases to asser -Zhelp output 2024-01-08 21:34:07 -05:00
https.rs Fix self_signed_should_fail for macOS. 2023-05-06 12:41:34 -07:00
inheritable_workspace_fields.rs test(manifest): Verify we warn on unused workspace.package fields 2024-01-08 09:21:31 -06:00
install.rs fix(cargo-install): clarify --path is installation source 2023-12-26 10:42:57 -05:00
install_upgrade.rs fix: Report more detailed semver errors 2023-11-06 15:24:32 -06:00
jobserver.rs chore: bump jobserver to respect --jobserver-auth=fifo:PATH' 2023-02-28 16:08:12 +00:00
lints.rs fix(manifest): Provide unused key warnings for lints table 2024-01-08 09:12:46 -06:00
list_availables.rs fix(cli): Clarify --test is for targets, not test functions 2023-11-03 15:45:00 -05:00
local_registry.rs chore: update local_registry tests to use check 2023-02-20 12:21:27 -06:00
locate_project.rs Remove the double-backslash escape for matching. 2021-06-16 09:44:29 -07:00
lockfile_compat.rs Auto merge of #12280 - weihanglo:git-ref-ambiguity, r=ehuss 2023-07-23 19:01:50 +00:00
login.rs feat: stabilize credential-process and registry-auth 2023-09-16 22:40:45 -05:00
logout.rs Auto merge of #12588 - arlosi:logout-is-stable, r=weihanglo 2023-08-29 18:17:10 +00:00
lto.rs Ues strip_prefix for cleaner code 2023-09-07 17:57:28 +00:00
main.rs Add tests validating the sequence for cargo fix. 2024-01-02 14:54:41 -08:00
member_discovery.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
member_errors.rs feat: Add rustc style errors for manifest parsing 2023-12-15 13:30:10 -07:00
message_format.rs chore: update message_format tests to use check 2023-02-20 12:21:27 -06:00
messages.rs Fix cargo errors counter 2023-11-29 18:47:14 +02:00
metabuild.rs Handle $message_type in JSON diagnostics 2023-11-19 20:37:16 -08:00
metadata.rs feat: Add rustc style errors for manifest parsing 2023-12-15 13:30:10 -07:00
minimal_versions.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
multitarget.rs feat(doc): Print the generated docs links 2023-10-19 10:51:56 -05:00
net_config.rs chore: update net_config tests to use check 2023-02-20 12:21:27 -06:00
new.rs refactor(util-schemas): error type for restricted_names 2023-12-20 10:38:02 -05:00
offline.rs Implementation of shallow libgit2 fetches behind an unstable flag 2024-01-11 17:08:21 +09:00
old_cargos.rs Add reasons to all ignored tests. 2022-08-02 12:24:00 -07:00
out_dir.rs Add unsupported short suggestion for --out-dir flag 2023-10-04 13:15:09 +08:00
owner.rs Create dedicated unstable flag for asymmetric-token 2023-08-24 00:12:50 -05:00
package.rs Remove the unnecessary backticks 2023-11-22 11:09:55 +08:00
package_features.rs chore: update package_features tests to use check 2023-02-20 12:21:27 -06:00
patch.rs Implementation of shallow libgit2 fetches behind an unstable flag 2024-01-11 17:08:21 +09:00
path.rs Fix some test output validation. 2023-11-15 15:10:18 -08:00
paths.rs chore: update paths tests to use check 2023-02-20 12:21:27 -06:00
pkgid.rs feat(spec): Track git ref 2023-12-01 15:16:26 -06:00
proc_macro.rs Deprecate rustc plugin support in cargo 2024-01-04 13:17:50 +01:00
profile_config.rs refactor(schemas): Pull out cargo-util-schemas crate 2023-12-15 13:22:25 -06:00
profile_custom.rs refactor(util-schemas): error type for restricted_names 2023-12-20 10:38:02 -05:00
profile_overrides.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
profile_targets.rs feat(doc): Print the generated docs links 2023-10-19 10:51:56 -05:00
profile_trim_paths.rs test(trim-paths): don't follow links to separate debuginfo files 2023-12-08 16:34:00 -05:00
profiles.rs test: new options of debuginfo are no longer unstable 2023-09-01 16:19:47 +01:00
progress.rs chore: update progress tests to use check 2023-02-20 12:22:24 -06:00
pub_priv.rs test: support publish package with a public field. 2024-01-03 04:08:59 +08:00
publish.rs fix(toml): Default package.publish based on presence of package.version 2023-10-11 13:17:03 -05:00
publish_lockfile.rs Fix some test output validation. 2023-11-15 15:10:18 -08:00
read_manifest.rs Add rust_metadata to SerializedPackage 2021-10-12 14:07:19 +02:00
registry.rs Fix some test output validation. 2023-11-15 15:10:18 -08:00
registry_auth.rs feat: stabilize credential-process and registry-auth 2023-09-16 22:40:45 -05:00
rename_deps.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
replace.rs Update test for override respects spec metadata 2023-11-29 18:47:27 +02:00
required_features.rs Add additional info on a new line 2023-06-05 11:27:31 +02:00
run.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
rust_version.rs feat: Add rustc style errors for manifest parsing 2023-12-15 13:30:10 -07:00
rustc.rs refactor: only when -C debuginfo > 0 will spilt-debuginfo be passed 2023-05-31 20:43:57 +01:00
rustc_info_cache.rs Don't re-use rustc cache when RUSTC_WRAPPER changes 2021-04-16 20:08:11 +03:00
rustdoc.rs Add unstable --output-format option to "rustdoc" 2024-01-11 17:37:56 +02:00
rustdoc_extern_html.rs Make sparse the default protocol for crates.io 2023-03-02 10:50:22 -06:00
rustdocflags.rs feat(doc): Print the generated docs links 2023-10-19 10:51:56 -05:00
rustflags.rs Fix a rustflags test using a wrong buildfile name 2023-11-16 20:03:01 +03:00
rustup.rs Add an optimization when running under rustup. 2023-05-03 13:45:54 -07:00
script.rs fix(cli): Suggest cargo-search on bad commands 2023-10-17 14:46:30 -05:00
search.rs Add a new package cache locking system. 2023-10-08 14:16:51 -07:00
shell_quoting.rs refactor(testsuite): Replace [project] with [package] 2022-09-26 09:51:16 -06:00
source_replacement.rs Auto merge of #12732 - tompscanlan:12576-registry-error-msg, r=epage 2023-09-25 17:41:03 +00:00
ssh.rs add a missing is: 2023-09-08 15:14:10 -04:00
standard_lib.rs Add requirements to cargo_test. 2022-07-30 19:36:58 -07:00
test.rs fix: set OUT_DIR for all units with build scripts 2024-01-08 20:59:18 +08:00
timings.rs Move timing reports to target/cargo-timings 2022-01-30 21:43:52 -08:00
tool_paths.rs Add some tests 2023-08-28 09:29:17 +08:00
tree.rs generalise suggestion on abiguous spec 2023-09-18 16:34:17 +01:00
tree_graph_features.rs Do not ignore --features when --all-features is present 2022-01-28 02:49:42 +03:00
unit_graph.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
update.rs fix(resolver): Don't do git fetches when updating workspace members 2023-11-14 13:47:10 -06:00
vendor.rs fix: respect umask when unpacking .crate files 2023-08-03 13:41:08 +01:00
verify_project.rs add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
version.rs Add test for -V short argument 2023-10-14 23:16:11 +08:00
warn_on_failure.rs Update other tests to use cargo:: syntax 2023-12-23 13:17:55 +08:00
weak_dep_features.rs Include rust-version in publish request 2023-04-26 11:59:29 -07:00
workspaces.rs refactor(toml): Make it more obvious to update package-dependent fields 2024-01-08 15:34:38 -06:00
yank.rs Create dedicated unstable flag for asymmetric-token 2023-08-24 00:12:50 -05:00