Commit Graph

103 Commits

Author SHA1 Message Date
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
Ralf Jung
650411492c also test getrandom directly 2021-04-04 11:09:40 +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
1923044705
Add a cdylib-only crate test 2021-02-15 20:43:29 +08: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
0737de86f7
Revert the lock file version change 2021-02-14 19:09:22 +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
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
ba0d229752 rustup + cargo-miri 'cargo update' 2020-12-21 10:53:55 +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
db067f4a3e test-cargo-miri: normalize slashes before comparing paths 2020-09-17 17:33:47 +02:00
Ralf Jung
05f5c3d078 make sure tests pass even with RUST_TEST_NOCAPTURE set 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
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
119bf4d607 forward build-time env vars to binary, and test that we do 2020-09-17 17:33:46 +02:00
Ralf Jung
ee7d589530 test respecting 'test=false', and what happens with doctests 2020-09-17 17:29:19 +02:00