@@ -171,33 +171,43 @@ endif
171
171
# Main test targets
172
172
# #####################################################################
173
173
174
+ # The main testing target. Tests lots of stuff.
174
175
check : cleantmptestlogs cleantestlibs check-notidy tidy
175
176
177
+ # As above but don't bother running tidy.
176
178
check-notidy : cleantmptestlogs cleantestlibs all check-stage2
177
179
$(Q )$(CFG_PYTHON ) $(S ) src/etc/check-summary.py tmp/* .log
178
180
181
+ # A slightly smaller set of tests for smoke testing.
179
182
check-lite : cleantestlibs cleantmptestlogs \
180
183
$(foreach crate,$(TEST_TARGET_CRATES ) ,check-stage2-$(crate ) ) \
181
184
check-stage2-rpass \
182
185
check-stage2-rfail check-stage2-cfail check-stage2-rmake
183
186
$(Q )$(CFG_PYTHON ) $(S ) src/etc/check-summary.py tmp/* .log
184
187
188
+ # Only check the 'reference' tests: rpass/cfail/rfail/rmake.
185
189
check-ref : cleantestlibs cleantmptestlogs check-stage2-rpass \
186
190
check-stage2-rfail check-stage2-cfail check-stage2-rmake
187
191
$(Q )$(CFG_PYTHON ) $(S ) src/etc/check-summary.py tmp/* .log
188
192
193
+ # Only check the docs.
189
194
check-docs : cleantestlibs cleantmptestlogs check-stage2-docs
190
195
$(Q )$(CFG_PYTHON ) $(S ) src/etc/check-summary.py tmp/* .log
191
196
192
197
# NOTE: Remove after reprogramming windows bots
193
198
check-fast : check-lite
194
199
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.
197
202
check-secondary : check-syntax check-pretty
198
203
204
+ # check + check-secondary.
205
+ check-all : check check-secondary
206
+
207
+ # Run the grammar tests.
199
208
check-syntax : check-lexer
200
209
210
+ # Pretty-printing tests.
201
211
check-pretty : check-stage2-T-$(CFG_BUILD ) -H-$(CFG_BUILD ) -pretty-exec
202
212
203
213
.PHONY : cleantmptestlogs cleantestlibs
0 commit comments