Ralf Jung
f6badf037e
rustup
2022-08-01 09:27:34 -04:00
Ralf Jung
0b1d5a4957
test all of the autocfg queries
2022-07-24 13:35:05 -04:00
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
0c5392f435
now test-cargo-miri will actually work even without a hot cache :D
2022-07-23 14:35:17 -04:00
Ralf Jung
34922be801
remove num_cpus test from test-cargo-miri
2022-07-22 20:54:23 -04:00
Ralf Jung
5e4b646457
aarch inline asm is not stable yet
2022-07-21 10:52:52 -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
Ralf Jung
108fe3473c
update getrandom
2022-06-27 22:52:02 -04:00
Ralf Jung
3abec0e2af
make macOS happy
2022-06-26 23:00:54 -04:00
Ralf Jung
13d425daeb
make permissive provenance and raw-ptr tagging the default
2022-06-26 21:14:42 -04:00
Ralf Jung
34be937d5f
add -Zmiri-report-progress to regularly print a stacktrace of what we are executing
2022-06-26 14:31:57 -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
a8e457fad1
use is_power_of_two where appropriate
2022-05-30 17:47:16 -04:00
Ralf Jung
9a5c9a5481
comment on test
2022-05-22 07:59:18 +02:00
Mateusz Gienieczko
b7d032c219
Fix comment formatting.
2022-05-22 00:59:49 +02:00
Mateusz Gienieczko
e932ea50ba
Add failing page_size test.
2022-05-21 16:10:08 +02:00
Ralf Jung
4da38299fa
looks like the asm macro is stable :D
2021-12-15 19:11:18 +01:00
bors
b258eb3c27
Auto merge of #1911 - RalfJung:rename-track-tag, r=RalfJung
...
rename track-raw-pointers flag to tag-raw-pointers
The old flag name sounds too similar to `-Zmiri-track-pointer-tag`, which is a totally different kind of 'tracking'. This has lead to confusion in https://github.com/rust-lang/miri/issues/1907 .
2021-11-17 16:08:13 +00:00
Ralf Jung
a15539e911
run rustdoc with the miri cfg flag
2021-11-14 12:19:58 -05:00
Ralf Jung
d8bee92aee
rename track-raw-pointers flag to tag-raw-pointers
2021-11-13 15:48:27 -05:00
Ralf Jung
405de0217d
some more Windows argument passing tests
2021-09-24 10:33:32 -04:00
Smitty
4df931405a
Don't use seperate alias test
2021-09-13 18:05:01 -04:00
Smitty
5aecd2811e
One character aliases for cargo-miri run/test
...
The main `cargo` command supports `cargo r` as an alias for
`cargo run`, and `cargo t` as an alias for `cargo test`. This adds
support to them in cargo-miri for consistency.
2021-09-11 12:00:59 -04:00
Ralf Jung
2c14bab76f
llvm_asm → asm
2021-08-16 17:34:48 +02:00
hyd-dev
838ed1d754
Update tests for #[no_mangle]
associated functions
2021-08-15 17:21:33 +08:00
bors
d3157def75
Auto merge of #1865 - rust-lang:test-cargo-miri, r=RalfJung
...
improve test-cargo-miri output
2021-08-07 12:55:06 +00:00
Ralf Jung
d12d4050ae
improve test-cargo-miri output
2021-08-04 11:25:33 +02:00
hyd-dev
dced6b8518
Update cargo-miri test
2021-08-04 16:46:11 +08:00
hyd-dev
59408b68dd
Add some comments in test-cargo-miri/run-tests.py
2021-06-26 22:21:07 +08:00
hyd-dev
2d17b5a550
Use miri
inside the target directory used by rustc as Miri's target directory
2021-06-25 01:09:10 +08:00
hyd-dev
da2ed6f768
Don't report UB for #[no_mangle]
on associated functions
2021-06-14 20:58:54 +08: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
9549faa81c
Update cargo-miri
tests
2021-06-07 16:53:31 +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
ffff7ff8a6
Use compile_error!
instead of use num_cpus
2021-05-27 19:22:42 +08:00
hyd-dev
773eb1e970
"doc-tests" -> "doctests"
2021-05-27 18:45:21 +08:00
hyd-dev
f42a6d1026
Skip doctests of proc-macro
crates
2021-05-27 07:03:05 +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
2f6dff6da8
nits and fix non-deterministic test output
2021-04-05 13:18:59 +02:00
Ralf Jung
f9bd6b0756
nits; test running no doctests
2021-04-05 12:46:36 +02: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
Tristan Dannenberg
4fccde54ac
make cargo-miri run doc-tests
2021-04-05 11:48:17 +02: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
0f7c01527a
'cargo update' all the things
2021-04-04 11:11:19 +02:00