mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-26 00:28:47 +00:00
Fixed bug in gcc invocation; added stdlib tests
This commit is contained in:
parent
faca5c6e0e
commit
369f80f7e8
11 changed files with 515 additions and 74 deletions
14
stdlib/regression/Makefile
Normal file
14
stdlib/regression/Makefile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
TESTS=$(sort $(basename $(wildcard test*.expr)))
|
||||
|
||||
RC=../../src/rc.opt
|
||||
|
||||
.PHONY: check $(TESTS)
|
||||
|
||||
check: $(TESTS)
|
||||
|
||||
$(TESTS): %: %.expr
|
||||
@echo $@
|
||||
RC_RUNTIME=../../runtime $(RC) -I .. $< && ./$@ > $@.log && diff $@.log orig/$@.log
|
||||
|
||||
clean:
|
||||
$(RM) test*.log *.s *~ $(TESTS)
|
||||
Loading…
Add table
Add a link
Reference in a new issue