cargo/tests/testsuite
bors b3b25ab6c5 Auto merge of #8395 - ehuss:fix-opt-dep-order, r=Eh2406
Fix order-dependent feature resolution.

There is a situation where if you have `pkg/feature` syntax, and `pkg` is an optional dependency, but also a dev-dependency, and the dev-dependency appears before the (optional) normal dependency in the summary, then the optional dependency would not get activated. This is because the feature code used `find` to get the first entry.

Fixes #8394
2020-06-22 00:35:00 +00:00
..
mock-std Use issue = "none" instead of "0" 2019-12-22 17:21:13 +09:00
advanced_env.rs Fixes for some test errors on Windows. 2019-12-19 09:44:02 -08:00
alt_registry.rs Provide some error context for bad registries.foo.index URL. 2020-05-25 11:17:28 -07:00
bad_config.rs Add test 2020-06-01 19:50:33 +02:00
bad_manifest_path.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
bench.rs Rework how Cargo computes the rustc file outputs. 2020-05-05 14:32:52 -07:00
build.rs Merge branch 'master' into license-field-as-environment-variable 2020-06-08 21:24:02 +02:00
build_plan.rs Rework how Cargo computes the rustc file outputs. 2020-05-05 14:32:52 -07:00
build_script.rs Allow package.exclude patterns to match directories. 2020-04-22 11:26:19 -07:00
build_script_env.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
cache_messages.rs Revert always computing filename Metadata. 2020-05-06 12:06:39 -07:00
cargo_alias_config.rs Fix using global options before an alias. 2020-01-31 13:56:06 -08:00
cargo_command.rs Ignore broken console output in some situations. 2020-05-13 16:22:24 -07:00
cargo_features.rs Do not implicitly load registry.token with --index. 2020-04-19 09:20:54 -07:00
cargo_targets.rs Warn on Windows about reserved target names. 2020-03-02 16:04:25 -08:00
cfg.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
check.rs Auto merge of #7533 - yaahc:clippy-banishment, r=ehuss 2020-03-14 20:50:15 +00:00
clean.rs Implement new clean -p using globs. 2020-05-05 14:34:09 -07:00
collisions.rs Don't hash executable filenames on apple platforms. 2020-06-04 16:14:17 -07:00
concurrent.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
config.rs Expand error message to explain that a string was found 2020-05-12 21:41:03 +02:00
config_cli.rs Migrate from the failure crate to anyhow 2020-01-07 16:50:09 -08:00
config_include.rs Fix tests with enoent error message on non-english systems. 2020-05-29 12:34:17 -07:00
corrupt_git.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
cross_compile.rs Auto merge of #8359 - ehuss:doctest-xcompile-linker, r=alexcrichton 2020-06-15 14:38:34 +00:00
cross_publish.rs Do not implicitly load registry.token with --index. 2020-04-19 09:20:54 -07:00
custom_target.rs add test for doctests with custom target paths 2020-04-17 17:35:10 +02:00
death.rs Add a wrapper to wait for rustc to exit. 2020-04-27 12:23:09 -07:00
dep_info.rs Rework how Cargo computes the rustc file outputs. 2020-05-05 14:32:52 -07:00
directory.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
doc.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
edition.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
error.rs Rework internal errors. 2020-02-17 19:03:57 -08:00
features.rs Fix order-dependent feature resolution. 2020-06-21 17:28:36 -07:00
features2.rs Fix panic with cargo tree --target=all -Zfeatures=all 2020-05-22 14:35:07 -07:00
fetch.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
fix.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
freshness.rs Don't hash executable filenames on apple platforms. 2020-06-04 16:14:17 -07:00
generate_lockfile.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
git.rs Update how locked git commits are fetched 2020-06-16 09:36:49 -07:00
git_auth.rs Avoid testing git-specific error messages 2020-05-06 14:59:43 +01:00
git_gc.rs fix most remaining clippy findings (mostly redundant imports) 2020-02-21 12:15:16 +01:00
init.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
install.rs Add test for cargo install --index 2020-06-10 15:26:26 +00:00
install_upgrade.rs Bump to semver 0.10 for VersionReq::is_exact 2020-05-25 11:11:45 +01:00
jobserver.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
list_targets.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
local_registry.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
locate_project.rs Add a test for cargo locate-project 2019-12-10 09:18:12 +09:00
lockfile_compat.rs Add a --offline hint. 2019-12-03 10:47:32 -08:00
login.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
lto.rs Some LTO fixes. 2020-06-10 16:02:35 -07:00
main.rs fix clippy warnings 2020-06-04 00:55:45 +02:00
member_errors.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
message_format.rs Add "build-finished" JSON message. 2020-04-04 18:56:50 -07:00
metabuild.rs Rework how Cargo computes the rustc file outputs. 2020-05-05 14:32:52 -07:00
metadata.rs Create README file so tests pass 2020-06-09 00:15:28 -07:00
minimal_versions.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
multitarget.rs clippy fixes 2020-05-01 01:16:30 +02:00
net_config.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
new.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
offline.rs Re-implement proc-macro feature decoupling. 2020-03-22 15:08:02 -07:00
out_dir.rs Rework how Cargo computes the rustc file outputs. 2020-05-05 14:32:52 -07:00
owner.rs Ignore broken console output in some situations. 2020-05-13 16:22:24 -07:00
package.rs Allow cargo package --list even for things that don't package. 2020-04-28 10:49:21 -07:00
package_features.rs Merge -Zpackage-features2 and -Zpackage-features. 2020-04-08 14:06:09 -07:00
patch.rs Revert change to automatically select the greatest patch match. 2020-05-20 10:18:45 -07:00
path.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
paths.rs Correct reference link 2019-12-23 12:00:22 +09:00
pkgid.rs Add test for cargo pkgid 2019-12-29 20:42:50 +09:00
plugins.rs Support multiple --target flags on the CLI 2020-04-28 15:16:47 -07:00
proc_macro.rs Fix an accidental raw access of field 2020-06-03 07:44:22 -07:00
profile_config.rs build-std: Don't treat std like a "local" package. 2020-04-28 13:05:55 -07:00
profile_custom.rs Add named config profiles. 2020-01-13 13:27:33 -08:00
profile_overrides.rs Add support for -Cembed-bitcode=no 2020-04-01 14:31:06 -07:00
profile_targets.rs Add support for -Cembed-bitcode=no 2020-04-01 14:31:06 -07:00
profiles.rs Disable strip_works test on macos. 2020-05-31 21:56:02 -07:00
pub_priv.rs Fix nightly test matching rustc "warning" output. 2020-04-12 21:09:39 -07:00
publish.rs Fix failure with missing readme. 2020-06-11 14:55:33 -07:00
publish_lockfile.rs Allow cargo package --list even for things that don't package. 2020-04-28 10:49:21 -07:00
read_manifest.rs Fix failure with missing readme. 2020-06-11 14:55:33 -07:00
registry.rs Bump to semver 0.10 for VersionReq::is_exact 2020-05-25 11:11:45 +01:00
rename_deps.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
replace.rs Bump to semver 0.10 for VersionReq::is_exact 2020-05-25 11:11:45 +01:00
required_features.rs Testing for binary built as an implicit dependency. 2020-03-27 18:15:38 +08:00
run.rs Support multiple --target flags on the CLI 2020-04-28 15:16:47 -07:00
rustc.rs Add support for -Cembed-bitcode=no 2020-04-01 14:31:06 -07:00
rustc_info_cache.rs Re-enable rustc-info-cache test again 2020-04-24 12:54:24 -07:00
rustdoc.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
rustdoc_extern_html.rs Fix rust-docs in CI. 2020-05-26 15:43:28 -07:00
rustdocflags.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
rustflags.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
search.rs Ignore broken console output in some situations. 2020-05-13 16:22:24 -07:00
shell_quoting.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
standard_lib.rs Support multiple --target flags on the CLI 2020-04-28 15:16:47 -07:00
test.rs Rework how Cargo computes the rustc file outputs. 2020-05-05 14:32:52 -07:00
timings.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
tool_paths.rs Improvements to StringList config handling. 2020-02-16 15:29:59 -08:00
tree.rs Switch --invert to take the package name as an argument. 2020-04-03 19:52:21 -07:00
tree_graph_features.rs Switch --invert to take the package name as an argument. 2020-04-03 19:52:21 -07:00
unit_graph.rs Fix tests 2020-05-16 22:28:06 +03:00
update.rs Use fs helpers instead of File functions. 2020-04-17 07:56:16 -07:00
vendor.rs vendor: support alt registries 2019-12-17 17:44:37 -08:00
verify_project.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
version.rs fix most remaining clippy findings (mostly redundant imports) 2020-02-21 12:15:16 +01:00
warn_on_failure.rs Minor testsuite organization. 2019-11-24 18:42:45 -08:00
workspaces.rs Rephrased error message for disallowed sections in virtual workspace 2020-05-14 10:26:20 +02:00
yank.rs Do not implicitly load registry.token with --index. 2020-04-19 09:20:54 -07:00