diff --git a/mk/tests.mk b/mk/tests.mk index 6068af8f7f463..2e500ffeb0a50 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -171,7 +171,7 @@ endif # Main test targets ###################################################################### -check: cleantmptestlogs cleantestlibs check-notidy tidy check-syntax +check: cleantmptestlogs cleantestlibs check-notidy tidy check-notidy: cleantmptestlogs cleantestlibs all check-stage2 $(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log diff --git a/src/grammar/README.md b/src/grammar/README.md index 69f8ab1e486aa..f5b872cdc7f67 100644 --- a/src/grammar/README.md +++ b/src/grammar/README.md @@ -1,9 +1,10 @@ Reference grammar. Uses [antlr4](http://www.antlr.org/) and a custom Rust tool to compare -ASTs/token streams generated. +ASTs/token streams generated. You can use the `check-syntax` make target to +run all of the available tests. -To use: +To use manually: ``` antlr4 RustLexer.g4