@@ -99,27 +99,33 @@ prepare:
99
99
100
100
# Set of tests that represent around half of the time of the test suite.
101
101
# Used to split tests across multiple CI runners.
102
- STAGE_2_TEST_SET1 := test --stage 2 --skip=compiler --skip=src
103
- STAGE_2_TEST_SET2 := test --stage 2 --skip=tests --skip=coverage-map --skip=coverage-run --skip=library --skip=tidyselftest
102
+ SKIP_COMPILER := --skip=compiler
103
+ SKIP_SRC := --skip=src
104
+ TEST_SET1 := $(SKIP_COMPILER ) $(SKIP_SRC )
105
+ TEST_SET2 := --skip=tests --skip=coverage-map --skip=coverage-run --skip=library --skip=tidyselftest
104
106
105
107
# # MSVC native builders
106
108
107
109
# this intentionally doesn't use `$(BOOTSTRAP)` so we can test the shebang on Windows
108
110
ci-msvc-py :
109
- $(Q )$(CFG_SRC_DIR ) /x.py $( STAGE_2_TEST_SET1 )
111
+ $(Q )$(CFG_SRC_DIR ) /x.py test --stage 2 $( TEST_SET1 )
110
112
ci-msvc-ps1 :
111
- $(Q )$(CFG_SRC_DIR ) /x.ps1 $( STAGE_2_TEST_SET2 )
113
+ $(Q )$(CFG_SRC_DIR ) /x.ps1 test --stage 2 $( TEST_SET2 )
112
114
ci-msvc : ci-msvc-py ci-msvc-ps1
113
115
114
116
# # MingW native builders
115
117
116
118
# Set of tests that should represent half of the time of the test suite.
117
119
# Used to split tests across multiple CI runners.
118
120
# Test both x and bootstrap entrypoints.
121
+ ci-mingw-x-1 :
122
+ $(Q )$(CFG_SRC_DIR ) /x test --stage 2 $(SKIP_COMPILER ) $(TEST_SET2 )
123
+ ci-mingw-x-2 :
124
+ $(Q )$(CFG_SRC_DIR ) /x test --stage 2 $(SKIP_SRC ) $(TEST_SET2 )
119
125
ci-mingw-x :
120
- $(Q )$(CFG_SRC_DIR ) /x $( STAGE_2_TEST_SET1 )
126
+ $(Q )$(CFG_SRC_DIR ) /x test --stage 2 $( TEST_SET1 )
121
127
ci-mingw-bootstrap :
122
- $(Q )$(BOOTSTRAP ) $( STAGE_2_TEST_SET2 )
128
+ $(Q )$(BOOTSTRAP ) test --stage 2 $( TEST_SET2 )
123
129
ci-mingw : ci-mingw-x ci-mingw-bootstrap
124
130
125
131
.PHONY : dist
0 commit comments