@@ -61,6 +61,8 @@ fn one_ignored_one_unignored_test() -> Vec<TestDescAndFn> {
61
61
ignore: true ,
62
62
should_panic: ShouldPanic :: No ,
63
63
allow_fail: false ,
64
+ compile_fail: false ,
65
+ no_run: false ,
64
66
test_type: TestType :: Unknown ,
65
67
} ,
66
68
testfn: DynTestFn ( Box :: new( move || { } ) ) ,
@@ -71,6 +73,8 @@ fn one_ignored_one_unignored_test() -> Vec<TestDescAndFn> {
71
73
ignore: false ,
72
74
should_panic: ShouldPanic :: No ,
73
75
allow_fail: false ,
76
+ compile_fail: false ,
77
+ no_run: false ,
74
78
test_type: TestType :: Unknown ,
75
79
} ,
76
80
testfn: DynTestFn ( Box :: new( move || { } ) ) ,
@@ -89,6 +93,8 @@ pub fn do_not_run_ignored_tests() {
89
93
ignore : true ,
90
94
should_panic : ShouldPanic :: No ,
91
95
allow_fail : false ,
96
+ compile_fail : false ,
97
+ no_run : false ,
92
98
test_type : TestType :: Unknown ,
93
99
} ,
94
100
testfn : DynTestFn ( Box :: new ( f) ) ,
@@ -108,6 +114,8 @@ pub fn ignored_tests_result_in_ignored() {
108
114
ignore : true ,
109
115
should_panic : ShouldPanic :: No ,
110
116
allow_fail : false ,
117
+ compile_fail : false ,
118
+ no_run : false ,
111
119
test_type : TestType :: Unknown ,
112
120
} ,
113
121
testfn : DynTestFn ( Box :: new ( f) ) ,
@@ -131,6 +139,8 @@ fn test_should_panic() {
131
139
ignore : false ,
132
140
should_panic : ShouldPanic :: Yes ,
133
141
allow_fail : false ,
142
+ compile_fail : false ,
143
+ no_run : false ,
134
144
test_type : TestType :: Unknown ,
135
145
} ,
136
146
testfn : DynTestFn ( Box :: new ( f) ) ,
@@ -154,6 +164,8 @@ fn test_should_panic_good_message() {
154
164
ignore : false ,
155
165
should_panic : ShouldPanic :: YesWithMessage ( "error message" ) ,
156
166
allow_fail : false ,
167
+ compile_fail : false ,
168
+ no_run : false ,
157
169
test_type : TestType :: Unknown ,
158
170
} ,
159
171
testfn : DynTestFn ( Box :: new ( f) ) ,
@@ -182,6 +194,8 @@ fn test_should_panic_bad_message() {
182
194
ignore : false ,
183
195
should_panic : ShouldPanic :: YesWithMessage ( expected) ,
184
196
allow_fail : false ,
197
+ compile_fail : false ,
198
+ no_run : false ,
185
199
test_type : TestType :: Unknown ,
186
200
} ,
187
201
testfn : DynTestFn ( Box :: new ( f) ) ,
@@ -214,6 +228,8 @@ fn test_should_panic_non_string_message_type() {
214
228
ignore : false ,
215
229
should_panic : ShouldPanic :: YesWithMessage ( expected) ,
216
230
allow_fail : false ,
231
+ compile_fail : false ,
232
+ no_run : false ,
217
233
test_type : TestType :: Unknown ,
218
234
} ,
219
235
testfn : DynTestFn ( Box :: new ( f) ) ,
@@ -238,6 +254,8 @@ fn test_should_panic_but_succeeds() {
238
254
ignore : false ,
239
255
should_panic,
240
256
allow_fail : false ,
257
+ compile_fail : false ,
258
+ no_run : false ,
241
259
test_type : TestType :: Unknown ,
242
260
} ,
243
261
testfn : DynTestFn ( Box :: new ( f) ) ,
@@ -270,6 +288,8 @@ fn report_time_test_template(report_time: bool) -> Option<TestExecTime> {
270
288
ignore : false ,
271
289
should_panic : ShouldPanic :: No ,
272
290
allow_fail : false ,
291
+ compile_fail : false ,
292
+ no_run : false ,
273
293
test_type : TestType :: Unknown ,
274
294
} ,
275
295
testfn : DynTestFn ( Box :: new ( f) ) ,
@@ -303,6 +323,8 @@ fn time_test_failure_template(test_type: TestType) -> TestResult {
303
323
ignore : false ,
304
324
should_panic : ShouldPanic :: No ,
305
325
allow_fail : false ,
326
+ compile_fail : false ,
327
+ no_run : false ,
306
328
test_type,
307
329
} ,
308
330
testfn : DynTestFn ( Box :: new ( f) ) ,
@@ -340,6 +362,8 @@ fn typed_test_desc(test_type: TestType) -> TestDesc {
340
362
ignore : false ,
341
363
should_panic : ShouldPanic :: No ,
342
364
allow_fail : false ,
365
+ compile_fail : false ,
366
+ no_run : false ,
343
367
test_type,
344
368
}
345
369
}
@@ -451,6 +475,8 @@ pub fn exclude_should_panic_option() {
451
475
ignore : false ,
452
476
should_panic : ShouldPanic :: Yes ,
453
477
allow_fail : false ,
478
+ compile_fail : false ,
479
+ no_run : false ,
454
480
test_type : TestType :: Unknown ,
455
481
} ,
456
482
testfn : DynTestFn ( Box :: new ( move || { } ) ) ,
@@ -473,6 +499,8 @@ pub fn exact_filter_match() {
473
499
ignore : false ,
474
500
should_panic : ShouldPanic :: No ,
475
501
allow_fail : false ,
502
+ compile_fail : false ,
503
+ no_run : false ,
476
504
test_type : TestType :: Unknown ,
477
505
} ,
478
506
testfn : DynTestFn ( Box :: new ( move || { } ) ) ,
@@ -565,6 +593,8 @@ pub fn sort_tests() {
565
593
ignore : false ,
566
594
should_panic : ShouldPanic :: No ,
567
595
allow_fail : false ,
596
+ compile_fail : false ,
597
+ no_run : false ,
568
598
test_type : TestType :: Unknown ,
569
599
} ,
570
600
testfn : DynTestFn ( Box :: new ( testfn) ) ,
@@ -642,6 +672,8 @@ pub fn test_bench_no_iter() {
642
672
ignore : false ,
643
673
should_panic : ShouldPanic :: No ,
644
674
allow_fail : false ,
675
+ compile_fail : false ,
676
+ no_run : false ,
645
677
test_type : TestType :: Unknown ,
646
678
} ;
647
679
@@ -662,6 +694,8 @@ pub fn test_bench_iter() {
662
694
ignore : false ,
663
695
should_panic : ShouldPanic :: No ,
664
696
allow_fail : false ,
697
+ compile_fail : false ,
698
+ no_run : false ,
665
699
test_type : TestType :: Unknown ,
666
700
} ;
667
701
@@ -676,6 +710,8 @@ fn should_sort_failures_before_printing_them() {
676
710
ignore : false ,
677
711
should_panic : ShouldPanic :: No ,
678
712
allow_fail : false ,
713
+ compile_fail : false ,
714
+ no_run : false ,
679
715
test_type : TestType :: Unknown ,
680
716
} ;
681
717
@@ -684,6 +720,8 @@ fn should_sort_failures_before_printing_them() {
684
720
ignore : false ,
685
721
should_panic : ShouldPanic :: No ,
686
722
allow_fail : false ,
723
+ compile_fail : false ,
724
+ no_run : false ,
687
725
test_type : TestType :: Unknown ,
688
726
} ;
689
727
0 commit comments