Ralf Jung
d905901d65
make miri a better RUSTC by default inside cargo-miri
...
this requires a change in sysroot handling: miri driver now requires
MIRI_SYSROOT to be set when it is in 'target' mode, rather than relying on
`--sysroot` always being present.
2022-07-24 13:30:32 -04:00
Ralf Jung
8fa1542878
make test-cargo-miri only about cargo
...
remove rand (large dependency) and page-size (testing the dependency, not cargo-miri).
keep only byteorder as a "demo" dependency, it is a leaf and builds quickly.
2022-07-21 08:44:34 -04:00
Oli Scherer
ab6fb9d2aa
Allow tests to have dependencies
2022-07-20 15:54:35 +00:00
Mateusz Gienieczko
e932ea50ba
Add failing page_size test.
2022-05-21 16:10:08 +02:00
hyd-dev
99467349f2
Do not return DefId
that doesn't have exported symbol in exported_symbols
2021-06-14 20:55:27 +08:00
hyd-dev
41f33a64f8
Implement calls to exported symbols
2021-05-31 11:15:29 +08:00
hyd-dev
b30c5fef5b
Rustup for rust-lang/rust#84401
2021-04-30 19:35:59 +08:00
hyd-dev
3dff1d4fcd
Don't use MIRI_DEFAULT_ARGS
to compile host crates
2021-04-09 00:57:59 +08:00
Ralf Jung
84f44900f4
also test old getrandom
2021-04-04 15:35:19 +02:00
Ralf Jung
3d15e47441
bump test-cargo-miri dependencies
2021-04-04 12:03:52 +02:00
Ralf Jung
650411492c
also test getrandom directly
2021-04-04 11:09:40 +02:00
hyd-dev
1923044705
Add a cdylib
-only crate test
2021-02-15 20:43:29 +08:00
hyd-dev
c0eb13ba2a
Patch --extern
arguments in phase_cargo_rustc
as well
2021-02-15 20:43:27 +08:00
hyd-dev
304cd3e410
Make the test more consistent with other tests
2021-02-14 19:08:47 +08:00
hyd-dev
80112820fd
[cargo-miri] Don't skip rlib
crates
2021-02-14 16:27:20 +08:00
Ralf Jung
b3757d0e51
add regression test for #1567
2021-02-13 19:41:01 +01:00
Ralf Jung
0c67ec2057
test formerly broken serde_derive dependency
2020-09-21 15:47:09 +02:00
Ralf Jung
055e90dd6f
'cargo update' test-cargo-miri
2020-09-18 12:12:02 +02:00
Ralf Jung
b244a2ddaa
make sure subcrate tests have the right cwd
2020-09-17 17:33:47 +02:00
Ralf Jung
c99fb102b8
test 'cargo miri run' CWD, also for subcrate in a workspace
2020-09-17 17:33:47 +02:00
Ralf Jung
33c669679e
test 'harness=false' tests
2020-09-17 17:33:47 +02:00
Ralf Jung
2205ed5bbb
show proper warning about not running doctests
2020-09-17 17:33:47 +02:00
Ralf Jung
ee7d589530
test respecting 'test=false', and what happens with doctests
2020-09-17 17:29:19 +02:00
Ralf Jung
0fac868685
support num_cpus and test that
2019-06-29 14:34:08 +02:00
Ralf Jung
4df5c6ac83
bump rand to released 0.7
2019-06-28 11:29:24 +02:00
Ralf Jung
f72f53c3ad
bump rand so that the test passes
2019-06-12 18:30:05 +02:00
Ralf Jung
5766b32871
update test for cargo-miri
2019-02-07 13:03:03 +01:00
Ralf Jung
f044205b5f
the test suite assumes a libstd with full MIR; run test suite on xargo-built foreign libstds
2018-12-10 10:04:55 +01:00