lama_byterun/regression/Makefile
2018-11-21 14:29:35 +03:00

18 lines
487 B
Makefile

TESTS=$(basename $(wildcard test*.expr))
RC=../src/rc.opt
.PHONY: check $(TESTS)
check: $(TESTS)
$(TESTS): %: %.expr
@$(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
clean:
rm -f test*.log *.s *~ $(TESTS)
pushd expressions && make clean && popd
pushd deep-expressions && make clean && popd
pushd x86only && make clean && popd