Skip to content

Commit 71f8db5

Browse files
committed
mk: Add comments to primary check targets
1 parent 80b93a3 commit 71f8db5

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

mk/tests.mk

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,33 +171,43 @@ endif
171171
# Main test targets
172172
######################################################################
173173

174+
# The main testing target. Tests lots of stuff.
174175
check: cleantmptestlogs cleantestlibs check-notidy tidy
175176

177+
# As above but don't bother running tidy.
176178
check-notidy: cleantmptestlogs cleantestlibs all check-stage2
177179
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
178180

181+
# A slightly smaller set of tests for smoke testing.
179182
check-lite: cleantestlibs cleantmptestlogs \
180183
$(foreach crate,$(TEST_TARGET_CRATES),check-stage2-$(crate)) \
181184
check-stage2-rpass \
182185
check-stage2-rfail check-stage2-cfail check-stage2-rmake
183186
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
184187

188+
# Only check the 'reference' tests: rpass/cfail/rfail/rmake.
185189
check-ref: cleantestlibs cleantmptestlogs check-stage2-rpass \
186190
check-stage2-rfail check-stage2-cfail check-stage2-rmake
187191
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
188192

193+
# Only check the docs.
189194
check-docs: cleantestlibs cleantmptestlogs check-stage2-docs
190195
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
191196

192197
# NOTE: Remove after reprogramming windows bots
193198
check-fast: check-lite
194199

195-
check-all: check check-secondary
196-
200+
# Some less critical tests that are not prone to breakage.
201+
# Not run as part of the normal test suite, but tested by bors on checkin.
197202
check-secondary: check-syntax check-pretty
198203

204+
# check + check-secondary.
205+
check-all: check check-secondary
206+
207+
# Run the grammar tests.
199208
check-syntax: check-lexer
200209

210+
# Pretty-printing tests.
201211
check-pretty: check-stage2-T-$(CFG_BUILD)-H-$(CFG_BUILD)-pretty-exec
202212

203213
.PHONY: cleantmptestlogs cleantestlibs

0 commit comments

Comments
 (0)