Commit Graph

63 Commits

Author SHA1 Message Date
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
Ralf Jung
c41a039c56 patch --extern and --emit; test suite passes now! 2020-09-17 17:29:19 +02:00
Aaron Hill
93c31e7790
Enable some panic tests on Windows 2020-09-17 09:42:04 -04:00
David Cook
5d9d75fc1f Test cargo miri target selection 2020-08-28 23:12:11 -05:00
Ralf Jung
7406c1224b adjust for asm -> llvm_asm rename 2020-04-20 10:38:38 +02:00
Ralf Jung
280394d366 cargo update 2020-04-10 10:28:45 +02:00
Ralf Jung
b843de6dd2 run-test.py: also print what we are testing for 2020-03-22 09:04:10 +01:00
Ralf Jung
d85f09c4e4 platform -> target 2020-03-22 08:55:39 +01:00
Ralf Jung
a555e1ec25 cargo update 2020-02-23 22:44:16 +01:00
Ralf Jung
0e7e5b9655 fix test-cargo-miri 2020-02-21 11:03:52 +01:00
Ralf Jung
b883c11caa use recommended test exclusion technique in test 2019-12-07 11:55:19 +01:00
Ralf Jung
f1cde6d80b also test built-in panics via should_panic 2019-12-02 16:04:31 +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
Ralf Jung
6363bc4975 test should_panic checking the panic string 2019-11-30 10:31:53 +01:00
Aaron Hill
6fe89e45f4
Disable #[should_panic] test on Windows
We should re-enable this once
https://github.com/rust-lang/miri/issues/1059 is fixed
2019-11-19 15:59:42 -05:00
Aaron Hill
660cd55cc7
Update captured test output 2019-11-17 11:49:31 -05:00
Aaron Hill
b5235dea7f
Add #[should_panic] test 2019-11-17 11:09:16 -05:00
Ralf Jung
524624297d test-cargo-miri: cargo update, re-enable windows num_cpus test 2019-11-15 15:59:19 +01:00
Ralf Jung
a90ac3b0ec disable num_cpus on Windows for now 2019-11-08 09:16:44 +01:00
Ralf Jung
505b02fc99 cargo update cargo-miri-test 2019-10-23 10:32:08 +02:00
Ralf Jung
49fa8bfd72 cargo update for test-cargo-miri 2019-09-28 12:10:38 -04:00
Christian Poveda
814fe99516 Add cargo-miri test for no isolation 2019-08-29 10:13:02 -05:00
Ralf Jung
7faa329f11 more implicit 2019-08-28 09:27:19 +02:00
Ralf Jung
71aae4ffa5 test that build scripts do not run in Miri 2019-08-28 09:15:31 +02:00
Ralf Jung
0340806127 cargo update 2019-08-26 19:38:47 +02:00
Ralf Jung
c73b13fc58 test-cargo-miri: cargo update 2019-08-06 12:50:22 +02:00
Ralf Jung
70a5bb7dbb force pointers before reborrowing; fixes cargo miri test suite 2019-07-10 14:36:56 +02:00
Ralf Jung
b3c3c33ebf bump the version of getrandom that we test 2019-07-06 10:07:21 +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
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
8f670e6b8b test rand a bit more 2019-06-12 18:19:50 +02:00
Ralf Jung
8212314441 fix tests 2019-05-17 15:03:34 +02:00
Ralf Jung
3618992a39 deduplicate tests 2019-05-15 18:12:58 +02:00
Ralf Jung
b7314369e2 make run-test runnable from other directories 2019-04-22 11:11:06 +02:00
Ralf Jung
8cb0b23c08 no need to allow any more 2019-04-22 11:08:53 +02:00
Ralf Jung
703b7f8a7e implement SecRandomCopyBytes for macOS RNG 2019-04-22 11:08:23 +02:00
Ralf Jung
7bb461362e Travis: test cargo miri on foreign arch 2019-04-21 22:35:47 +02:00
Ralf Jung
36e99a1bda remove some unneeded 'extern crate' 2019-04-18 16:16:32 +02:00
Ralf Jung
54039cafa8 try to really fix tests on macOS 2019-04-16 20:36:33 +02:00