Skip to content

Commit 50bdeb9

Browse files
committed
Run all target crate tests on the windows/try bots
Previously, the check-fast and check-lite test suites weren't picking up all target crates, rather just std/extra. In order to ensure that all of our crates work on windows, I've modified these rules to build the test suites for all TARGET_CRATES members. Note that this still excludes rustc/syntax/rustdoc.
1 parent 03c28b4 commit 50bdeb9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mk/tests.mk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ check-test: cleantestlibs cleantmptestlogs all check-stage2-rfail
183183
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
184184

185185
check-lite: cleantestlibs cleantmptestlogs \
186-
check-stage2-std check-stage2-extra check-stage2-rpass \
187-
check-stage2-rustuv check-stage2-native check-stage2-green \
186+
$(foreach crate,$(TARGET_CRATES),check-stage2-$(crate)) \
187+
check-stage2-rpass \
188188
check-stage2-rfail check-stage2-cfail check-stage2-rmake
189189
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
190190

@@ -861,7 +861,8 @@ $(foreach host,$(CFG_HOST), \
861861
$(eval $(foreach target,$(CFG_TARGET), \
862862
$(eval $(call DEF_CHECK_FAST_FOR_T_H,,$(target),$(host))))))
863863

864-
check-fast: tidy check-fast-H-$(CFG_BUILD) check-stage2-std check-stage2-extra
864+
check-fast: tidy check-fast-H-$(CFG_BUILD) \
865+
$(foreach crate,$(TARGET_CRATES),check-stage2-$(crate))
865866
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
866867

867868
define DEF_CHECK_FAST_FOR_H

0 commit comments

Comments
 (0)