Skip to content

Commit

Permalink
Merge pull request #255 from Manishearth/fix-test3
Browse files Browse the repository at this point in the history
Add new fields for internal test crate
  • Loading branch information
Munksgaard authored May 22, 2022
2 parents 65fd885 + 2b4e540 commit 73c15d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ pub fn test_opts(config: &Config) -> test::TestOpts {
list: false,
options: test::Options::new(),
time_options: None,
#[cfg(feature = "rustc")]
shuffle: false,
#[cfg(feature = "rustc")]
shuffle_seed: None,
}
}

Expand Down Expand Up @@ -274,12 +278,15 @@ pub fn make_test(config: &Config, testpaths: &TestPaths) -> test::TestDescAndFn
name: make_test_name(config, testpaths),
ignore: early_props.ignore,
should_panic: should_panic,
#[cfg(not(feature = "rustc"))]
allow_fail: false,
#[cfg(feature = "rustc")]
compile_fail: false,
#[cfg(feature = "rustc")]
no_run: false,
test_type: test::TestType::IntegrationTest,
#[cfg(feature = "rustc")]
ignore_message: None,
},
testfn: make_test_closure(config, testpaths),
}
Expand Down

0 comments on commit 73c15d3

Please sign in to comment.