Add automatic parsing tests, a la the lexing ones.
This commit is contained in:
3
Makefile
3
Makefile
@@ -38,5 +38,8 @@ test: $(TARGET)
|
|||||||
@echo -n "Lex test ... "
|
@echo -n "Lex test ... "
|
||||||
@for f in `find . -name '*.bs'`; do $(TOPDIR)/$(TARGET) -lex $$f > /dev/null; done
|
@for f in `find . -name '*.bs'`; do $(TOPDIR)/$(TARGET) -lex $$f > /dev/null; done
|
||||||
@echo "passed."
|
@echo "passed."
|
||||||
|
@echo -n "Parse test ... "
|
||||||
|
@for f in `find . -name '*.bs'`; do $(TOPDIR)/$(TARGET) -parse $$f > /dev/null; done
|
||||||
|
@echo "passed."
|
||||||
|
|
||||||
-include $(DEPENDS)
|
-include $(DEPENDS)
|
||||||
|
|||||||
Reference in New Issue
Block a user