@@ -61,7 +61,9 @@ fn one_ignored_one_unignored_test() -> Vec<TestDescAndFn> {
61
61
ignore: true ,
62
62
should_panic: ShouldPanic :: No ,
63
63
allow_fail: false ,
64
+ #[ cfg( not( bootstrap) ) ]
64
65
compile_fail: false ,
66
+ #[ cfg( not( bootstrap) ) ]
65
67
no_run: false ,
66
68
test_type: TestType :: Unknown ,
67
69
} ,
@@ -73,7 +75,9 @@ fn one_ignored_one_unignored_test() -> Vec<TestDescAndFn> {
73
75
ignore: false ,
74
76
should_panic: ShouldPanic :: No ,
75
77
allow_fail: false ,
78
+ #[ cfg( not( bootstrap) ) ]
76
79
compile_fail: false ,
80
+ #[ cfg( not( bootstrap) ) ]
77
81
no_run: false ,
78
82
test_type: TestType :: Unknown ,
79
83
} ,
@@ -93,7 +97,9 @@ pub fn do_not_run_ignored_tests() {
93
97
ignore : true ,
94
98
should_panic : ShouldPanic :: No ,
95
99
allow_fail : false ,
100
+ #[ cfg( not( bootstrap) ) ]
96
101
compile_fail : false ,
102
+ #[ cfg( not( bootstrap) ) ]
97
103
no_run : false ,
98
104
test_type : TestType :: Unknown ,
99
105
} ,
@@ -114,7 +120,9 @@ pub fn ignored_tests_result_in_ignored() {
114
120
ignore : true ,
115
121
should_panic : ShouldPanic :: No ,
116
122
allow_fail : false ,
123
+ #[ cfg( not( bootstrap) ) ]
117
124
compile_fail : false ,
125
+ #[ cfg( not( bootstrap) ) ]
118
126
no_run : false ,
119
127
test_type : TestType :: Unknown ,
120
128
} ,
@@ -139,7 +147,9 @@ fn test_should_panic() {
139
147
ignore : false ,
140
148
should_panic : ShouldPanic :: Yes ,
141
149
allow_fail : false ,
150
+ #[ cfg( not( bootstrap) ) ]
142
151
compile_fail : false ,
152
+ #[ cfg( not( bootstrap) ) ]
143
153
no_run : false ,
144
154
test_type : TestType :: Unknown ,
145
155
} ,
@@ -164,7 +174,9 @@ fn test_should_panic_good_message() {
164
174
ignore : false ,
165
175
should_panic : ShouldPanic :: YesWithMessage ( "error message" ) ,
166
176
allow_fail : false ,
177
+ #[ cfg( not( bootstrap) ) ]
167
178
compile_fail : false ,
179
+ #[ cfg( not( bootstrap) ) ]
168
180
no_run : false ,
169
181
test_type : TestType :: Unknown ,
170
182
} ,
@@ -194,7 +206,9 @@ fn test_should_panic_bad_message() {
194
206
ignore : false ,
195
207
should_panic : ShouldPanic :: YesWithMessage ( expected) ,
196
208
allow_fail : false ,
209
+ #[ cfg( not( bootstrap) ) ]
197
210
compile_fail : false ,
211
+ #[ cfg( not( bootstrap) ) ]
198
212
no_run : false ,
199
213
test_type : TestType :: Unknown ,
200
214
} ,
@@ -228,7 +242,9 @@ fn test_should_panic_non_string_message_type() {
228
242
ignore : false ,
229
243
should_panic : ShouldPanic :: YesWithMessage ( expected) ,
230
244
allow_fail : false ,
245
+ #[ cfg( not( bootstrap) ) ]
231
246
compile_fail : false ,
247
+ #[ cfg( not( bootstrap) ) ]
232
248
no_run : false ,
233
249
test_type : TestType :: Unknown ,
234
250
} ,
@@ -254,7 +270,9 @@ fn test_should_panic_but_succeeds() {
254
270
ignore : false ,
255
271
should_panic,
256
272
allow_fail : false ,
273
+ #[ cfg( not( bootstrap) ) ]
257
274
compile_fail : false ,
275
+ #[ cfg( not( bootstrap) ) ]
258
276
no_run : false ,
259
277
test_type : TestType :: Unknown ,
260
278
} ,
@@ -288,7 +306,9 @@ fn report_time_test_template(report_time: bool) -> Option<TestExecTime> {
288
306
ignore : false ,
289
307
should_panic : ShouldPanic :: No ,
290
308
allow_fail : false ,
309
+ #[ cfg( not( bootstrap) ) ]
291
310
compile_fail : false ,
311
+ #[ cfg( not( bootstrap) ) ]
292
312
no_run : false ,
293
313
test_type : TestType :: Unknown ,
294
314
} ,
@@ -323,7 +343,9 @@ fn time_test_failure_template(test_type: TestType) -> TestResult {
323
343
ignore : false ,
324
344
should_panic : ShouldPanic :: No ,
325
345
allow_fail : false ,
346
+ #[ cfg( not( bootstrap) ) ]
326
347
compile_fail : false ,
348
+ #[ cfg( not( bootstrap) ) ]
327
349
no_run : false ,
328
350
test_type,
329
351
} ,
@@ -362,7 +384,9 @@ fn typed_test_desc(test_type: TestType) -> TestDesc {
362
384
ignore : false ,
363
385
should_panic : ShouldPanic :: No ,
364
386
allow_fail : false ,
387
+ #[ cfg( not( bootstrap) ) ]
365
388
compile_fail : false ,
389
+ #[ cfg( not( bootstrap) ) ]
366
390
no_run : false ,
367
391
test_type,
368
392
}
@@ -475,7 +499,9 @@ pub fn exclude_should_panic_option() {
475
499
ignore : false ,
476
500
should_panic : ShouldPanic :: Yes ,
477
501
allow_fail : false ,
502
+ #[ cfg( not( bootstrap) ) ]
478
503
compile_fail : false ,
504
+ #[ cfg( not( bootstrap) ) ]
479
505
no_run : false ,
480
506
test_type : TestType :: Unknown ,
481
507
} ,
@@ -499,7 +525,9 @@ pub fn exact_filter_match() {
499
525
ignore : false ,
500
526
should_panic : ShouldPanic :: No ,
501
527
allow_fail : false ,
528
+ #[ cfg( not( bootstrap) ) ]
502
529
compile_fail : false ,
530
+ #[ cfg( not( bootstrap) ) ]
503
531
no_run : false ,
504
532
test_type : TestType :: Unknown ,
505
533
} ,
@@ -593,7 +621,9 @@ pub fn sort_tests() {
593
621
ignore : false ,
594
622
should_panic : ShouldPanic :: No ,
595
623
allow_fail : false ,
624
+ #[ cfg( not( bootstrap) ) ]
596
625
compile_fail : false ,
626
+ #[ cfg( not( bootstrap) ) ]
597
627
no_run : false ,
598
628
test_type : TestType :: Unknown ,
599
629
} ,
@@ -672,7 +702,9 @@ pub fn test_bench_no_iter() {
672
702
ignore : false ,
673
703
should_panic : ShouldPanic :: No ,
674
704
allow_fail : false ,
705
+ #[ cfg( not( bootstrap) ) ]
675
706
compile_fail : false ,
707
+ #[ cfg( not( bootstrap) ) ]
676
708
no_run : false ,
677
709
test_type : TestType :: Unknown ,
678
710
} ;
@@ -694,7 +726,9 @@ pub fn test_bench_iter() {
694
726
ignore : false ,
695
727
should_panic : ShouldPanic :: No ,
696
728
allow_fail : false ,
729
+ #[ cfg( not( bootstrap) ) ]
697
730
compile_fail : false ,
731
+ #[ cfg( not( bootstrap) ) ]
698
732
no_run : false ,
699
733
test_type : TestType :: Unknown ,
700
734
} ;
@@ -710,7 +744,9 @@ fn should_sort_failures_before_printing_them() {
710
744
ignore : false ,
711
745
should_panic : ShouldPanic :: No ,
712
746
allow_fail : false ,
747
+ #[ cfg( not( bootstrap) ) ]
713
748
compile_fail : false ,
749
+ #[ cfg( not( bootstrap) ) ]
714
750
no_run : false ,
715
751
test_type : TestType :: Unknown ,
716
752
} ;
@@ -720,7 +756,9 @@ fn should_sort_failures_before_printing_them() {
720
756
ignore : false ,
721
757
should_panic : ShouldPanic :: No ,
722
758
allow_fail : false ,
759
+ #[ cfg( not( bootstrap) ) ]
723
760
compile_fail : false ,
761
+ #[ cfg( not( bootstrap) ) ]
724
762
no_run : false ,
725
763
test_type : TestType :: Unknown ,
726
764
} ;
0 commit comments