fix regression

This commit is contained in:
Danya Berezun 2023-09-04 21:45:50 +02:00
parent 17a7aa0116
commit 5119f69863
8 changed files with 36 additions and 24 deletions

View file

@ -7,10 +7,10 @@ RC = ../../src/lamac
check: $(TESTS)
$(TESTS): %: %.lama
@echo $@
@echo "regression/expressions/$@"
@LAMA=../../runtime $(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
@cat $@.input | LAMA=../../runtime $(RC) -i $< > $@.log && diff $@.log orig/$@.log
@cat $@.input | LAMA=../../runtime $(RC) -s $< > $@.log && diff $@.log orig/$@.log
clean:
rm -f *.log *.s *~