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
David Tolnay
66e8751afc
Format tests and benches with rustfmt (1-50 of 300)
2022-06-20 02:23:53 -07:00
Ralf Jung
a15539e911
run rustdoc with the miri cfg flag
2021-11-14 12:19:58 -05:00
hyd-dev
da2ed6f768
Don't report UB for #[no_mangle]
on associated functions
2021-06-14 20:58:54 +08:00
hyd-dev
160bc68cae
Move the test to src/main.rs
2021-05-31 11:57:16 +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
Ralf Jung
2decc78db9
make sure that we truly do not run no_run doctests
2021-04-10 14:20:06 +02:00
hyd-dev
3dff1d4fcd
Don't use MIRI_DEFAULT_ARGS
to compile host crates
2021-04-09 00:57:59 +08:00
Ralf Jung
e66a89c8af
avoid some dead code and test no_run tests
2021-04-05 12:37:22 +02:00
Ralf Jung
29bc8a57b0
add test for compile_fail; de-duplicate sysroot forwarding
2021-04-05 12:16:31 +02:00
hyd-dev
51c6f51c36
Use the issue-1567
dependency in the test
2021-02-15 20:43:28 +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
055e90dd6f
'cargo update' test-cargo-miri
2020-09-18 12:12:02 +02:00
Ralf Jung
db067f4a3e
test-cargo-miri: normalize slashes before comparing paths
2020-09-17 17:33:47 +02:00
Ralf Jung
18483b4d5e
make (not yet actually used) doctest actually use the crate, and fix a comment
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
113a335c3e
test propagating env vars from build.rs to binary
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
504c617cd4
test reading from stdin
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
8f670e6b8b
test rand a bit more
2019-06-12 18:19:50 +02:00
Ralf Jung
36e99a1bda
remove some unneeded 'extern crate'
2019-04-18 16:16:32 +02:00
Ralf Jung
0802b3a108
implement passing arguments to the interpreted program
2019-02-09 20:00:40 +01: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