24 Commits

Author SHA1 Message Date
Eric Huss
1ce8023626 Rustfmt 2024 2025-07-05 19:50:36 -07:00
Ross Sullivan
92d9a94d02
chore: Migrated testsuite to testsuite::prelude 2025-06-25 22:37:24 +09:00
Ed Page
af3cfd5abe fix(test): Un-deprecate contains assertions 2024-11-07 15:55:35 -06:00
Ed Page
a6cf1be655 test: Switch from allow to expect deprecated
This caught a couple of lingering items.
2024-09-23 20:44:06 -05:00
Ed Page
5b9799c6f4 refactor: Migrate from extern crate to test-support prelude
We now include the prelude in so many places, this simplifies how we can
present how `cargo-test-support` works.

Yes, this included some `use` clean ups but its already painful enough
walking through every test file, I didn't want to do it twice.
2024-07-12 15:57:00 -05:00
eth3lbert
8bdb52fb82
test: migrate rustdoc_extern_html to snapbox 2024-07-06 05:25:47 +08:00
Ed Page
dc5ac62cab fix(test): Deprecate non-snapbox assertions
While this is noisy and hides other deprecations, I figured deprecations would
make it easier for people to discover what tasks remain and allow us to
divide and conquer this work rather than doing a heroic PR.
In theory, this will be short lived and we'll go back to seeing
deprecations in our tests.
2024-06-10 10:20:52 -05:00
Weihang Lo
ac750a1e9f
fix(rustdoc-map): dedup --extern-html-too-url for same unit 2024-03-05 20:08:29 -05:00
Weihang Lo
3c933e8bbf
test: -Zrustdoc-map appends duplicate flags
This `same_deps_multi_occurrence_in_dep_tree` verfies
that duplicate flags were added to rustdoc invocation,
which is a bug
2024-03-05 19:52:56 -05:00
Guillaume Gomez
e4b0aaabfa Update tests for linking to transient dependencies items 2024-02-22 20:22:38 +01:00
Ed Page
675224b3a0 test(config): Shift to config.toml 2024-01-26 13:40:46 -06:00
Arlo Siemsen
78d4f2cb84 Make sparse the default protocol for crates.io 2023-03-02 10:50:22 -06:00
Caleb Fletcher
f54cd332e2 Add test for rustdoc map usage with sparse alternative registries 2022-11-29 19:28:03 +11:00
Eric Huss
7eb007ddbf Add reasons to all ignored tests. 2022-08-02 12:24:00 -07:00
Eric Huss
1c3640e05c Add requirements to cargo_test. 2022-07-30 19:36:58 -07:00
Scott Schafer
c239e407e7 add a reason to masquerade_as_nightly_cargo so it is searchable 2022-07-15 21:32:23 -05:00
Eric Huss
ec23482df8 Temporarily disable extern-html-root-url test.
A change in https://github.com/rust-lang/rust/pull/82776 broke this test,
so disabling for now until it is figured out how things are going to work.
2021-08-22 09:24:46 -07:00
Eric Huss
dbfdd49559 Move is_ci to cargo-util. 2021-03-20 17:42:32 -07:00
Eric Huss
340656e29d Add RegistryBuilder to help initializing test registries.
The intent here is to make it more flexible to create different registry
setups, and to reuse code a little more easily.
2021-02-02 15:48:48 -08:00
Joshua Nelson
d85fd93329 Fix inconsistency with quoting
Locally, the output looks like `'bar=...'`, but in CI the quotes are
missing. Allow either.
2020-11-21 22:51:30 -05:00
Joshua Nelson
d9f63cd684 Set docs.rs as the default extern-map for crates.io 2020-11-21 22:05:19 -05:00
Eric Huss
d1cbba6e91 Fix rust-docs in CI. 2020-05-26 15:43:28 -07:00
Eric Huss
f79fe537ba Make rust-docs component optional for local testing. 2020-05-26 10:59:49 -07:00
Eric Huss
e0f9643b0f Add support for rustdoc root URL mappings. 2020-05-26 10:44:57 -07:00