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
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
84f44900f4
also test old getrandom
2021-04-04 15:35:19 +02:00
Ralf Jung
650411492c
also test getrandom directly
2021-04-04 11:09:40 +02:00
Ralf Jung
055e90dd6f
'cargo update' test-cargo-miri
2020-09-18 12:12:02 +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
Aaron Hill
93c31e7790
Enable some panic tests on Windows
2020-09-17 09:42:04 -04:00
Ralf Jung
d85f09c4e4
platform -> target
2020-03-22 08:55:39 +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
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
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
0fac868685
support num_cpus and test that
2019-06-29 14:34:08 +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
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
54039cafa8
try to really fix tests on macOS
2019-04-16 20:36:33 +02:00
Ralf Jung
341798f09d
fix tests on macOS
2019-04-16 20:14:23 +02:00
Ralf Jung
59541d446a
pick better test names
2019-04-16 20:12:55 +02:00
Ralf Jung
ba567d19f0
stub out pthread_atfork to that we support thread_rng()
2019-04-16 19:53:10 +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
5766b32871
update test for cargo-miri
2019-02-07 13:03:03 +01:00