File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ serde = "1.0"
25
25
serde_json = " 1.0"
26
26
serde_derive = " 1.0"
27
27
rustfix = " 0.5"
28
- tester = " 0.8 "
28
+ tester = " 0.9 "
29
29
lazy_static = " 1.4"
30
30
31
31
[target ."cfg(unix)" .dependencies ]
Original file line number Diff line number Diff line change @@ -148,8 +148,8 @@ pub struct Config {
148
148
/// Run ignored tests
149
149
pub run_ignored : bool ,
150
150
151
- /// Only run tests that match this filter
152
- pub filter : Option < String > ,
151
+ /// Only run tests that match these filters
152
+ pub filters : Vec < String > ,
153
153
154
154
/// Exactly match the filter, rather than a substring
155
155
pub filter_exact : bool ,
@@ -372,7 +372,7 @@ impl Default for Config {
372
372
stage_id : "stage-id" . to_owned ( ) ,
373
373
mode : Mode :: RunPass ,
374
374
run_ignored : false ,
375
- filter : None ,
375
+ filters : vec ! [ ] ,
376
376
filter_exact : false ,
377
377
logfile : None ,
378
378
runtool : None ,
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ pub fn run_tests(config: &Config) {
111
111
112
112
pub fn test_opts ( config : & Config ) -> test:: TestOpts {
113
113
test:: TestOpts {
114
- filter : config. filter . clone ( ) ,
114
+ filters : config. filters . clone ( ) ,
115
115
filter_exact : config. filter_exact ,
116
116
exclude_should_panic : false ,
117
117
force_run_in_process : false ,
You can’t perform that action at this time.
0 commit comments