lama_byterun/regression/deep-expressions/Makefile

16 lines
393 B
Makefile
Raw Normal View History

2018-02-25 15:44:28 +03:00
TESTS=$(basename $(wildcard generated*.expr))
2018-02-25 15:50:03 +03:00
RC = ../../src/rc.opt
2018-02-25 15:44:28 +03:00
.PHONY: check $(TESTS)
check: $(TESTS)
$(TESTS): %: %.expr
2018-04-11 00:47:46 +03:00
@RC_RUNTIME=../../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
2018-02-25 15:44:28 +03:00
clean:
rm -f *.log *.s *~ $(TESTS)