Skip to content

Commit 80b93a3

Browse files
committed
mk: Add check-secondary target for tests with no x-platform risk.
We'll use this to run a subset of the test suite onto a dedicated bot. This puts the grammar tests and the pretty-printer tests under check-secondary. It leanves the pretty tests under plain `check` for now, until the new bot is added to take over. Because check-secondary is not run as part of `make check` there will be a set of tests that most users never run and are only checked by bors. I think this will be ok because grammar tests should rarely regress, and the people regressing such tests should have the fortitude to deal with it.
1 parent b9035c2 commit 80b93a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mk/tests.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,14 @@ check-docs: cleantestlibs cleantmptestlogs check-stage2-docs
192192
# NOTE: Remove after reprogramming windows bots
193193
check-fast: check-lite
194194

195+
check-all: check check-secondary
196+
197+
check-secondary: check-syntax check-pretty
198+
195199
check-syntax: check-lexer
196200

201+
check-pretty: check-stage2-T-$(CFG_BUILD)-H-$(CFG_BUILD)-pretty-exec
202+
197203
.PHONY: cleantmptestlogs cleantestlibs
198204

199205
cleantmptestlogs:

0 commit comments

Comments
 (0)