Skip to content

Commit 1f34574

Browse files
authored
Merge pull request #204 from JohnTitor/bump-tester-060
Update `tester` dependency to 0.6.0
2 parents 326f119 + 375b0f4 commit 1f34574

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde = "1.0"
2525
serde_json = "1.0"
2626
serde_derive = "1.0"
2727
rustfix = "0.4.1"
28-
tester = { version = "0.5" }
28+
tester = "0.6"
2929

3030
[target."cfg(unix)".dependencies]
3131
libc = "0.2"

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ pub fn test_opts(config: &Config) -> test::TestOpts {
109109
test::TestOpts {
110110
filter: config.filter.clone(),
111111
filter_exact: config.filter_exact,
112+
exclude_should_panic: false,
113+
force_run_in_process: false,
112114
run_ignored: if config.run_ignored { test::RunIgnored::Yes } else { test::RunIgnored::No },
113115
format: if config.quiet { test::OutputFormat::Terse } else { test::OutputFormat::Pretty },
114116
logfile: config.logfile.clone(),
@@ -123,6 +125,7 @@ pub fn test_opts(config: &Config) -> test::TestOpts {
123125
skip: vec![],
124126
list: false,
125127
options: test::Options::new(),
128+
time_options: None,
126129
}
127130
}
128131

@@ -254,6 +257,7 @@ pub fn make_test(config: &Config, testpaths: &TestPaths) -> test::TestDescAndFn
254257
ignore: early_props.ignore,
255258
should_panic: should_panic,
256259
allow_fail: false,
260+
test_type: test::TestType::IntegrationTest,
257261
},
258262
testfn: make_test_closure(config, testpaths),
259263
}

0 commit comments

Comments
 (0)