Eric Huss
a07fec1b7b
Provide extra context on a query failure.
2020-02-25 10:17:11 -08:00
Eric Huss
14379767ee
Remove --offline empty index error.
2019-12-03 11:52:10 -08:00
Eric Huss
83571aee56
Minor testsuite organization.
2019-11-24 18:42:45 -08:00
Alex Crichton
9115b2c326
Extract support
directory to its own crate
...
Extract out all our test support code to its own standalone crate so it
can be shared between multiple test suites if necessary.
2019-09-16 11:47:09 -07:00
Eric Huss
3c20a24335
Clean up some git test support functions.
2019-08-12 22:25:36 -07:00
Jethro Beekman
0e0d968825
Update #[test] attribute on all tests in the testsuite
...
sed -i 's/^#\[test\]/#[cargo_test]/' $(rg -l '^#\[test\]')
Manual fixes:
* proc_macro::proc_macro_doctest
2019-06-07 12:41:26 -07:00
Eric Huss
309eb874fd
Stabilize offline mode.
2019-05-12 10:49:45 -07:00
k-nasa
63a9c7aa6d
$cargo fmt --all
2019-05-02 06:39:15 +09:00
Eric Huss
c6fad3af85
Tweak the error message when updating an empty registry while offline.
2019-04-28 20:04:32 -07:00
Eric Huss
c2d12c6ccc
Add some help with updating the registry in offline mode.
...
This makes two changes:
- If an index has never been downloaded, and `-Z offline` is used, provide a
suggestion to run without `-Z offline`.
- If an index needs to be updated, and the network appears to be down, suggest
running with `-Z offline`.
2019-04-28 19:45:01 -07:00
Eric Huss
80b9d329ba
Move offline tests to a dedicated file.
2019-04-28 19:45:01 -07:00