File tree Expand file tree Collapse file tree 2 files changed +3
-30
lines changed
bootstrap/src/core/build_steps
ci/docker/host-x86_64/x86_64-gnu-gcc Expand file tree Collapse file tree 2 files changed +3
-30
lines changed Original file line number Diff line number Diff line change @@ -1573,21 +1573,6 @@ impl Step for Coverage {
1573
1573
let compiler = run. builder . compiler ( run. builder . top_stage , run. build_triple ( ) ) ;
1574
1574
let target = run. target ;
1575
1575
1576
- // GCC cannot run coverage tests.
1577
- if let Some ( codegen_backend) = run. builder . config . cmd . test_codegen_backend ( ) {
1578
- eprintln ! (
1579
- "WARNING: Already testing with GCC backend so ignoring `rustc_codegen_gcc` testsuite"
1580
- ) ;
1581
- if codegen_backend. is_gcc ( ) {
1582
- return ;
1583
- }
1584
- } else if run. builder . config . default_codegen_backend ( compiler. host ) . is_gcc ( ) {
1585
- eprintln ! (
1586
- "WARNING: Already testing with GCC backend so ignoring `rustc_codegen_gcc` testsuite"
1587
- ) ;
1588
- return ;
1589
- }
1590
-
1591
1576
// List of (coverage) test modes that the coverage test suite will be
1592
1577
// run in. It's OK for this to contain duplicates, because the call to
1593
1578
// `Builder::ensure` below will take care of deduplication.
@@ -3750,20 +3735,6 @@ impl Step for CodegenGCC {
3750
3735
return ;
3751
3736
}
3752
3737
3753
- // It we were running with GCC backend tests, no need to run these tests.
3754
- if let Some ( codegen_backend) = run. builder . config . cmd . test_codegen_backend ( ) {
3755
- if codegen_backend. is_gcc ( ) {
3756
- return ;
3757
- }
3758
- } else if run
3759
- . builder
3760
- . config
3761
- . default_codegen_backend ( compilers. target_compiler ( ) . host )
3762
- . is_gcc ( )
3763
- {
3764
- return ;
3765
- }
3766
-
3767
3738
if builder. download_rustc ( ) {
3768
3739
builder. info ( "CI rustc uses the default codegen backend. skipping" ) ;
3769
3740
return ;
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ ENV RUST_CONFIGURE_ARGS \
41
41
--set 'rust.codegen-backends=[\" llvm\" ,\" gcc\" ]'
42
42
ENV SCRIPT python3 ../x.py \
43
43
--stage 2 \
44
- test \
44
+ test tests \
45
45
--test-codegen-backend gcc \
46
+ --skip tests/coverage \
47
+ --skip tests/coverage-run-rustdoc \
46
48
--set 'rust.codegen-backends=[\" llvm\" ,\" gcc\" ]'
You can’t perform that action at this time.
0 commit comments