File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ use super::*;
33use crate :: Flags ;
44
55#[ test]
6+ #[ cfg( not( miri) ) ] // Very slow in miri
67fn roundtrip ( ) {
78 for a in 0u8 ..=255 {
89 for b in 0u8 ..=255 {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ use crate::{
66} ;
77
88#[ test]
9+ #[ cfg( not( miri) ) ] // Very slow in miri
910fn roundtrip ( ) {
1011 let mut s = String :: new ( ) ;
1112
Original file line number Diff line number Diff line change 22// an impossible build between error messages emitted on various channels.
33// Since https://github.com/dtolnay/trybuild/pull/170 we always need to have a
44// `stderr` file for each test so we can't simply ignore the output on different channels.
5+ #[ cfg( not( miri) ) ]
56#[ rustversion:: attr( beta, test) ]
67#[ allow( dead_code) ]
78fn fail ( ) {
89 let t = trybuild:: TestCases :: new ( ) ;
910 t. compile_fail ( "tests/compile-fail/**/*.rs" ) ;
1011}
1112
13+ #[ cfg( not( miri) ) ]
1214#[ test]
1315fn pass ( ) {
1416 let t = trybuild:: TestCases :: new ( ) ;
You can’t perform that action at this time.
0 commit comments