Skip to content

Commit 09a1aa2

Browse files
committed
---
yaml --- r: 125918 b: refs/heads/try c: b2e81d1 h: refs/heads/master v: v3
1 parent 0fc58e5 commit 09a1aa2

File tree

19 files changed

+363
-887
lines changed

19 files changed

+363
-887
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: f2fa55903e378368ed9173560f03a0ef16e371c2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
5-
refs/heads/try: ee21b009bbbe1f49981ed1ed8384c02d7ecdd19d
5+
refs/heads/try: b2e81d161816c9332423cba105040be281206774
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/mk/grammar.mk

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SG = $(S)src/grammar/
1313
B = $(CFG_BUILD_DIR)/$(CFG_BUILD)/stage2/
1414
L = $(B)lib/rustlib/$(CFG_BUILD)/lib
1515
LD = $(CFG_BUILD)/stage2/lib/rustlib/$(CFG_BUILD)/lib/
16-
RUSTC = $(STAGE2_T_$(CFG_BUILD)_H_$(CFG_BUILD))
16+
RUSTC = $(B)bin/rustc
1717

1818
# Run the reference lexer against libsyntax and compare the tokens and spans.
1919
# If "// ignore-lexer-test" is present in the file, it will be ignored.
@@ -37,25 +37,19 @@ $(BG)RustLexer.class: $(SG)RustLexer.g4
3737
$(BG)verify: $(SG)verify.rs rustc-stage2-H-$(CFG_BUILD) $(LD)stamp.regex_macros $(LD)stamp.rustc
3838
$(Q)$(RUSTC) -O --out-dir $(BG) -L $(L) $(SG)verify.rs
3939

40+
check-lexer: $(BG) $(BG)RustLexer.class $(BG)verify
4041
ifdef CFG_JAVAC
4142
ifdef CFG_ANTLR4
4243
ifdef CFG_GRUN
43-
check-lexer: $(BG) $(BG)RustLexer.class $(BG)verify
4444
$(info Verifying libsyntax against the reference lexer ...)
4545
$(Q)$(SG)check.sh $(S) "$(BG)" \
4646
"$(CFG_GRUN)" "$(BG)verify" "$(BG)RustLexer.tokens"
4747
else
48-
$(info cfg: grun not available, skipping lexer test...)
49-
check-lexer:
50-
48+
$(info grun not available, skipping lexer test...)
5149
endif
5250
else
53-
$(info cfg: antlr4 not available, skipping lexer test...)
54-
check-lexer:
55-
51+
$(info antlr4 not available, skipping lexer test...)
5652
endif
5753
else
58-
$(info cfg: javac not available, skipping lexer test...)
59-
check-lexer:
60-
54+
$(info javac not available, skipping lexer test...)
6155
endif

branches/try/mk/tests.mk

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -171,41 +171,28 @@ endif
171171
# Main test targets
172172
######################################################################
173173

174-
# The main testing target. Tests lots of stuff.
175174
check: cleantmptestlogs cleantestlibs check-notidy tidy
176175

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

181-
# A slightly smaller set of tests for smoke testing.
182179
check-lite: cleantestlibs cleantmptestlogs \
183180
$(foreach crate,$(TEST_TARGET_CRATES),check-stage2-$(crate)) \
184181
check-stage2-rpass \
185182
check-stage2-rfail check-stage2-cfail check-stage2-rmake
186183
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
187184

188-
# Only check the 'reference' tests: rpass/cfail/rfail/rmake.
189185
check-ref: cleantestlibs cleantmptestlogs check-stage2-rpass \
190186
check-stage2-rfail check-stage2-cfail check-stage2-rmake
191187
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
192188

193-
# Only check the docs.
194189
check-docs: cleantestlibs cleantmptestlogs check-stage2-docs
195190
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
196191

197192
# NOTE: Remove after reprogramming windows bots
198193
check-fast: check-lite
199194

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.
202-
check-secondary: check-lexer check-pretty
203-
204-
# check + check-secondary.
205-
check-all: check check-secondary
206-
207-
# Pretty-printing tests.
208-
check-pretty: check-stage2-T-$(CFG_BUILD)-H-$(CFG_BUILD)-pretty-exec
195+
check-syntax: check-lexer
209196

210197
.PHONY: cleantmptestlogs cleantestlibs
211198

0 commit comments

Comments
 (0)