Added test for expr + stmt

This commit is contained in:
Dmitry Boulytchev 2019-04-11 17:19:32 +03:00
parent 2aa460a25a
commit 7bf40bf26f
4 changed files with 41 additions and 0 deletions

View file

@ -7,6 +7,7 @@ RC=../src/rc.opt
check: $(TESTS)
$(TESTS): %: %.expr
@echo $@
@$(RC) $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
@cat $@.input | $(RC) -i $< > $@.log && diff $@.log orig/$@.log
@cat $@.input | $(RC) -s $< > $@.log && diff $@.log orig/$@.log