mirror of
https://github.com/ProgramSnail/Lama.git
synced 2026-01-01 03:28:19 +00:00
fix regression
This commit is contained in:
parent
17a7aa0116
commit
5119f69863
8 changed files with 36 additions and 24 deletions
|
|
@ -9,10 +9,10 @@ RM=rm -rf
|
|||
check: $(TESTS) expr_tests
|
||||
|
||||
$(TESTS): %: %.lama
|
||||
@echo $@
|
||||
@ulimit -s -S 32768; cat $@.input | $(LAMAC) $@.lama -i > $@.log && diff $@.log orig/$@.log
|
||||
@echo "lama-compiler/regression/$@"
|
||||
@ulimit -s -S 32768; cat $@.input | $(LAMAC) $@.lama -i > $@.log && diff $@.log orig/$@.log
|
||||
@ulimit -s -S 32768; cat $@.input | $(LAMAC) $@.lama -s > $@.log && diff $@.log orig/$@.log
|
||||
$(LAMAC) $@.lama && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
||||
@$(LAMAC) $@.lama && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
||||
|
||||
expr_tests:
|
||||
make -C expressions
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ LAMAC = ../../src/lama-impl
|
|||
check: $(TESTS)
|
||||
|
||||
$(TESTS): %: %.lama
|
||||
@echo $@
|
||||
@echo "lama-compiler/regression/deep-expressions/$@"
|
||||
@cat $@.input | $(LAMAC) -i $< > $@.log && diff $@.log orig/$@.log
|
||||
@cat $@.input | $(LAMAC) -s $< > $@.log && diff $@.log orig/$@.log
|
||||
@LAMA_RUNTIME=../../runtime $(LAMAC) $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ LAMAC = ../../src/lama-impl
|
|||
check: $(TESTS)
|
||||
|
||||
$(TESTS): %: %.lama
|
||||
@echo $@
|
||||
@echo "lama-compiler/regression/expressions/$@"
|
||||
@cat $@.input | $(LAMAC) -i $< > $@.log && diff $@.log orig/$@.log
|
||||
@cat $@.input | $(LAMAC) -s $< > $@.log && diff $@.log orig/$@.log
|
||||
@LAMA_RUNTIME=../../runtime $(LAMAC) $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue