@@ -63,6 +63,7 @@ fn one_ignored_one_unignored_test() -> Vec<TestDescAndFn> {
63
63
name: StaticTestName ( "1" ) ,
64
64
ignore: true ,
65
65
ignore_message: None ,
66
+ #[ cfg( not( bootstrap) ) ]
66
67
location_info: "src\\ lib.rs:10:10: 10:20" ,
67
68
should_panic: ShouldPanic :: No ,
68
69
compile_fail: false ,
@@ -76,6 +77,7 @@ fn one_ignored_one_unignored_test() -> Vec<TestDescAndFn> {
76
77
name: StaticTestName ( "2" ) ,
77
78
ignore: false ,
78
79
ignore_message: None ,
80
+ #[ cfg( not( bootstrap) ) ]
79
81
location_info: "src\\ lib.rs:10:10: 10:20" ,
80
82
should_panic: ShouldPanic :: No ,
81
83
compile_fail: false ,
@@ -97,6 +99,7 @@ pub fn do_not_run_ignored_tests() {
97
99
name : StaticTestName ( "whatever" ) ,
98
100
ignore : true ,
99
101
ignore_message : None ,
102
+ #[ cfg( not( bootstrap) ) ]
100
103
location_info : "src\\ lib.rs:10:10: 10:20" ,
101
104
should_panic : ShouldPanic :: No ,
102
105
compile_fail : false ,
@@ -121,6 +124,7 @@ pub fn ignored_tests_result_in_ignored() {
121
124
name : StaticTestName ( "whatever" ) ,
122
125
ignore : true ,
123
126
ignore_message : None ,
127
+ #[ cfg( not( bootstrap) ) ]
124
128
location_info : "src\\ lib.rs:10:10: 10:20" ,
125
129
should_panic : ShouldPanic :: No ,
126
130
compile_fail : false ,
@@ -147,6 +151,7 @@ fn test_should_panic() {
147
151
name : StaticTestName ( "whatever" ) ,
148
152
ignore : false ,
149
153
ignore_message : None ,
154
+ #[ cfg( not( bootstrap) ) ]
150
155
location_info : "src\\ lib.rs:10:10: 10:20" ,
151
156
should_panic : ShouldPanic :: Yes ,
152
157
compile_fail : false ,
@@ -173,6 +178,7 @@ fn test_should_panic_good_message() {
173
178
name : StaticTestName ( "whatever" ) ,
174
179
ignore : false ,
175
180
ignore_message : None ,
181
+ #[ cfg( not( bootstrap) ) ]
176
182
location_info : "src\\ lib.rs:10:10: 10:20" ,
177
183
should_panic : ShouldPanic :: YesWithMessage ( "error message" ) ,
178
184
compile_fail : false ,
@@ -204,6 +210,7 @@ fn test_should_panic_bad_message() {
204
210
name : StaticTestName ( "whatever" ) ,
205
211
ignore : false ,
206
212
ignore_message : None ,
213
+ #[ cfg( not( bootstrap) ) ]
207
214
location_info : "src\\ lib.rs:10:10: 10:20" ,
208
215
should_panic : ShouldPanic :: YesWithMessage ( expected) ,
209
216
compile_fail : false ,
@@ -239,6 +246,7 @@ fn test_should_panic_non_string_message_type() {
239
246
name : StaticTestName ( "whatever" ) ,
240
247
ignore : false ,
241
248
ignore_message : None ,
249
+ #[ cfg( not( bootstrap) ) ]
242
250
location_info : "src\\ lib.rs:10:10: 10:20" ,
243
251
should_panic : ShouldPanic :: YesWithMessage ( expected) ,
244
252
compile_fail : false ,
@@ -268,6 +276,7 @@ fn test_should_panic_but_succeeds() {
268
276
name : StaticTestName ( "whatever" ) ,
269
277
ignore : false ,
270
278
ignore_message : None ,
279
+ #[ cfg( not( bootstrap) ) ]
271
280
location_info : "src\\ lib.rs:10:10: 10:20" ,
272
281
should_panic,
273
282
compile_fail : false ,
@@ -297,6 +306,7 @@ fn report_time_test_template(report_time: bool) -> Option<TestExecTime> {
297
306
name : StaticTestName ( "whatever" ) ,
298
307
ignore : false ,
299
308
ignore_message : None ,
309
+ #[ cfg( not( bootstrap) ) ]
300
310
location_info : "src\\ lib.rs:10:10: 10:20" ,
301
311
should_panic : ShouldPanic :: No ,
302
312
compile_fail : false ,
@@ -335,6 +345,7 @@ fn time_test_failure_template(test_type: TestType) -> TestResult {
335
345
name : StaticTestName ( "whatever" ) ,
336
346
ignore : false ,
337
347
ignore_message : None ,
348
+ #[ cfg( not( bootstrap) ) ]
338
349
location_info : "src\\ lib.rs:10:10: 10:20" ,
339
350
should_panic : ShouldPanic :: No ,
340
351
compile_fail : false ,
@@ -375,6 +386,7 @@ fn typed_test_desc(test_type: TestType) -> TestDesc {
375
386
name : StaticTestName ( "whatever" ) ,
376
387
ignore : false ,
377
388
ignore_message : None ,
389
+ #[ cfg( not( bootstrap) ) ]
378
390
location_info : "src\\ lib.rs:10:10: 10:20" ,
379
391
should_panic : ShouldPanic :: No ,
380
392
compile_fail : false ,
@@ -488,6 +500,7 @@ pub fn exclude_should_panic_option() {
488
500
name : StaticTestName ( "3" ) ,
489
501
ignore : false ,
490
502
ignore_message : None ,
503
+ #[ cfg( not( bootstrap) ) ]
491
504
location_info : "src\\ lib.rs:10:10: 10:20" ,
492
505
should_panic : ShouldPanic :: Yes ,
493
506
compile_fail : false ,
@@ -513,6 +526,7 @@ pub fn exact_filter_match() {
513
526
name : StaticTestName ( name) ,
514
527
ignore : false ,
515
528
ignore_message : None ,
529
+ #[ cfg( not( bootstrap) ) ]
516
530
location_info : "src\\ lib.rs:10:10: 10:20" ,
517
531
should_panic : ShouldPanic :: No ,
518
532
compile_fail : false ,
@@ -605,6 +619,7 @@ fn sample_tests() -> Vec<TestDescAndFn> {
605
619
name : DynTestName ( ( * name) . clone ( ) ) ,
606
620
ignore : false ,
607
621
ignore_message : None ,
622
+ #[ cfg( not( bootstrap) ) ]
608
623
location_info : "src\\ lib.rs:10:10: 10:20" ,
609
624
should_panic : ShouldPanic :: No ,
610
625
compile_fail : false ,
@@ -735,6 +750,7 @@ pub fn test_bench_no_iter() {
735
750
name : StaticTestName ( "f" ) ,
736
751
ignore : false ,
737
752
ignore_message : None ,
753
+ #[ cfg( not( bootstrap) ) ]
738
754
location_info : "src\\ lib.rs:10:10: 10:20" ,
739
755
should_panic : ShouldPanic :: No ,
740
756
compile_fail : false ,
@@ -759,6 +775,7 @@ pub fn test_bench_iter() {
759
775
name : StaticTestName ( "f" ) ,
760
776
ignore : false ,
761
777
ignore_message : None ,
778
+ #[ cfg( not( bootstrap) ) ]
762
779
location_info : "src\\ lib.rs:10:10: 10:20" ,
763
780
should_panic : ShouldPanic :: No ,
764
781
compile_fail : false ,
@@ -776,6 +793,7 @@ fn should_sort_failures_before_printing_them() {
776
793
name : StaticTestName ( "a" ) ,
777
794
ignore : false ,
778
795
ignore_message : None ,
796
+ #[ cfg( not( bootstrap) ) ]
779
797
location_info : "src\\ lib.rs:10:10: 10:20" ,
780
798
should_panic : ShouldPanic :: No ,
781
799
compile_fail : false ,
@@ -787,6 +805,7 @@ fn should_sort_failures_before_printing_them() {
787
805
name : StaticTestName ( "b" ) ,
788
806
ignore : false ,
789
807
ignore_message : None ,
808
+ #[ cfg( not( bootstrap) ) ]
790
809
location_info : "src\\ lib.rs:10:10: 10:20" ,
791
810
should_panic : ShouldPanic :: No ,
792
811
compile_fail : false ,
@@ -835,6 +854,7 @@ fn test_dyn_bench_returning_err_fails_when_run_as_test() {
835
854
name : StaticTestName ( "whatever" ) ,
836
855
ignore : false ,
837
856
ignore_message : None ,
857
+ #[ cfg( not( bootstrap) ) ]
838
858
location_info : "src\\ lib.rs:10:10: 10:20" ,
839
859
should_panic : ShouldPanic :: No ,
840
860
compile_fail : false ,
0 commit comments