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
d12d4050ae
improve test-cargo-miri output
2021-08-04 11:25:33 +02: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
f42a6d1026
Skip doctests of proc-macro
crates
2021-05-27 07:03:05 +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
Tristan Dannenberg
4fccde54ac
make cargo-miri run doc-tests
2021-04-05 11:48:17 +02:00
hyd-dev
6d5ce21c92
Cleanup test-cargo-miri/run-test.py
2021-02-28 18:13:33 +08:00
hyd-dev
46af1890a5
Drop MIRIFLAGS from "no rebuild" test
2021-02-28 16:10:35 +08:00
hyd-dev
49cd383537
Create stub .d files
2021-02-28 04:56:20 +08:00
Ralf Jung
3e987e127c
create more fake files for cdylibs and staticlibs
2021-02-27 13:07:40 +01:00
Ralf Jung
f85bb0fb09
test for unnecessary rebuilds in 'cargo miri run'
2021-02-27 12:24:58 +01:00
hyd-dev
28577924e7
Add a test for unit test of proc-macro
crate
2021-01-24 23:48:17 +08:00
Ralf Jung
7e198147df
panicing now works with -Zmiri-track-raw-pointers
2020-12-31 00:17:08 +01:00
Ralf Jung
6dc353c091
test test suite harness with raw-ptr tracking
2020-12-21 11:36:40 +01:00
Ralf Jung
05fcf86f11
rename test ref files for proper names
2020-12-21 11:31:57 +01:00
Ralf Jung
05f5c3d078
make sure tests pass even with RUST_TEST_NOCAPTURE set
2020-09-17 17:33:47 +02:00
Ralf Jung
192b535adc
cleaner output for cargo-miri-test harness
2020-09-17 17:33:47 +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
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
93bedd0a09
fix cargo-miri-test for cross-runs
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
504c617cd4
test reading from stdin
2020-09-17 17:33:47 +02:00
Ralf Jung
c41a039c56
patch --extern and --emit; test suite passes now!
2020-09-17 17:29:19 +02:00
David Cook
5d9d75fc1f
Test cargo miri target selection
2020-08-28 23:12:11 -05:00
Ralf Jung
b843de6dd2
run-test.py: also print what we are testing for
2020-03-22 09:04:10 +01:00
Ralf Jung
3de5bd7dec
run-test: make sure the sysroot building output does not distort our tests
2019-12-01 12:57:09 +01:00
Christian Poveda
814fe99516
Add cargo-miri test for no isolation
2019-08-29 10:13:02 -05:00
Ralf Jung
70a5bb7dbb
force pointers before reborrowing; fixes cargo miri test suite
2019-07-10 14:36:56 +02:00
Ralf Jung
6c58d40a8d
temporarily disable validation for 'cargo miri test' testing
2019-07-05 19:21:42 +02:00
Ralf Jung
0fac868685
support num_cpus and test that
2019-06-29 14:34:08 +02:00
Ralf Jung
b7314369e2
make run-test runnable from other directories
2019-04-22 11:11:06 +02:00
Ralf Jung
7bb461362e
Travis: test cargo miri on foreign arch
2019-04-21 22:35:47 +02:00
Ralf Jung
bd4a772e1a
update cargo miri test to test rng crate a bit; this currently fails
2019-04-16 19:13:53 +02:00
Ralf Jung
35ed590075
also enable passing arguments through from cargo-miri
2019-02-09 20:00:40 +01:00
Ralf Jung
bf846a637c
test-cargo-miri: be more clear that and why the test failed
2018-12-19 11:05:21 +01:00
Ralf Jung
3e603c38d7
bump Rust version, fix test-cargo-miri and it no longer needs to disable validation
2018-12-18 18:40:06 +01:00
Ralf Jung
3fda8294bd
test cargo miri test output when testing cargo miri
2018-12-11 17:43:12 +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