mirror of
https://github.com/ProgramSnail/Lama.git
synced 2026-01-05 21:48:14 +00:00
More long tests in to separate directory
Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
parent
d849a2e6c7
commit
e471b35ed0
23062 changed files with 0 additions and 0 deletions
17
regression_long/deep-expressions/Makefile
Normal file
17
regression_long/deep-expressions/Makefile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
TESTS=$(sort $(basename $(wildcard generated*.lama)))
|
||||
|
||||
LAMAC = ../../src/lamac
|
||||
|
||||
.PHONY: check $(TESTS)
|
||||
|
||||
check: $(TESTS)
|
||||
|
||||
$(TESTS): %: %.lama
|
||||
@echo "regression/deep-expressions/$@"
|
||||
@LAMA=../../runtime $(LAMAC) $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
||||
@cat $@.input | LAMA=../../runtime $(LAMAC) -i $< > $@.log && diff $@.log orig/$@.log
|
||||
@cat $@.input | LAMA=../../runtime $(LAMAC) -s $< > $@.log && diff $@.log orig/$@.log
|
||||
|
||||
clean:
|
||||
rm -f *.log *.s *~
|
||||
find . -maxdepth 1 -type f -not -name '*.*' -not -name 'Makefile' -delete
|
||||
Loading…
Add table
Add a link
Reference in a new issue