#
# * `VERBOSE=1` - Print all commands. Use this to see what's going on.
# * `RUSTFLAGS=...` - Add compiler flags to all `rustc` invocations
+# * `JEMALLOC_FLAGS=...` - Pass flags to jemalloc's configure script
#
# * `TESTNAME=...` - Specify the name of tests to run
# * `CHECK_IGNORED=1` - Run normally-ignored tests
$(findstring tidy,$(MAKECMDGOALS))),)
CFG_INFO := $(info cfg: including test rules)
include $(CFG_SRC_DIR)mk/tests.mk
+ include $(CFG_SRC_DIR)mk/grammar.mk
endif
# Performance and benchmarking
include $(CFG_SRC_DIR)mk/clean.mk
endif
-# Grammar tests
-
-ifneq ($(findstring lexer,$(MAKECMDGOALS)),)
- ifdef CFG_JAVAC
- ifdef CFG_ANTLR4
- ifdef CFG_GRUN
- CFG_INFO := $(info cfg: including grammar tests)
- include $(CFG_SRC_DIR)mk/grammar.mk
- endif
- endif
- endif
-endif
-
# CTAGS building
ifneq ($(strip $(findstring TAGS.emacs,$(MAKECMDGOALS)) \
$(findstring TAGS.vi,$(MAKECMDGOALS))),)