mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Intermediate commit
This commit is contained in:
parent
9e3803ce7b
commit
74341d0f5f
33011 changed files with 92084 additions and 40 deletions
13
regression/expressions/Makefile
Normal file
13
regression/expressions/Makefile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
TESTS=$(basename $(wildcard generated*.expr))
|
||||
|
||||
.PHONY: check $(TESTS)
|
||||
|
||||
check: $(TESTS)
|
||||
|
||||
$(TESTS): %: %.expr
|
||||
RC_RUNTIME=../../runtime ../../rc.native $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
||||
cat $@.input | RC_RUNTIME=../../runtime ../../rc.native -i $< > $@.log && diff $@.log orig/$@.log
|
||||
cat $@.input | RC_RUNTIME=../../runtime ../../rc.native -s $< > $@.log && diff $@.log orig/$@.log
|
||||
|
||||
clean:
|
||||
rm -f *.log *.s *~ $(TESTS)
|
||||
Loading…
Add table
Add a link
Reference in a new issue