Commit graph

13 commits

Author SHA1 Message Date
Ed Page
675224b3a0 test(config): Shift to config.toml 2024-01-26 13:40:46 -06:00
Eric Huss
7eb007ddbf Add reasons to all ignored tests. 2022-08-02 12:24:00 -07:00
Arlo Siemsen
24dac452c5 Improve testing framework for http registries
Improve integration of the http server introduced by the http-registry feature.
Now the same HTTP server is used for serving downloads, the index, and
the API.

This makes it easier to write tests that deal with authentication and
http registries.
2022-06-10 16:51:35 -05:00
hi-rustin
9d93415d8c Check 1.60 behavior
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2022-02-26 19:35:13 +08:00
hi-rustin
626bf2c250 Skip avoids_split_debuginfo_collision on stable
Signed-off-by: hi-rustin <rustin.liu@gmail.com>

Address comments

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2022-02-26 15:38:32 +08:00
hi-rustin
047edec357 Use 1.51.0 in old cargos test
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2022-02-26 15:25:27 +08:00
Eric Huss
43a063c80a Stabilize namespaced and weak dependency features. 2022-01-06 15:56:56 -08:00
Eric Huss
256c43c2f1 Always use full metadata hash for -C metadata. 2021-04-26 20:18:53 -07:00
Eric Huss
888100352a Move ProcessBuilder to cargo-util. 2021-03-20 15:19:03 -07:00
Eric Huss
e58c544f37 Some minor code cleanup. 2021-02-28 19:03:06 -08:00
Eric Huss
c73765f9c3 testsuite: Improve performance when using rustup. 2021-02-25 09:07:48 -08:00
Eric Huss
0d4137f4f5 Include the index version in the index cache.
This is intended to help prevent the following scenario from happening:

1. Old cargo builds an index cache.
2. Old cargo finds an index entry it cannot parse, skipping it,
   and saving the cache without the entry.
3. New cargo loads the cache with the missing entry, and never sees
   the new entries that it understands.

This may result in more cache thrashing, but that seems better than
having new cargos missing entries.
2021-02-19 10:51:38 -08:00
Eric Huss
be28b58b45 Add features2 to the index. 2021-02-10 11:15:19 -08:00