2018-03-27 01:51:22 +03:00
|
|
|
TESTS=test001 test002 test003 test004 test005 test006 test007 test008 test009 test010 test011 test012 test013 test014 test015 test016 test017 test018 test019 test020 test021 test022 test023 test024 test025 test026 test027 test028 test029
|
2018-02-25 15:50:03 +03:00
|
|
|
|
|
|
|
|
RC=../src/rc.opt
|
2018-02-14 15:39:40 +03:00
|
|
|
|
2018-02-25 15:44:28 +03:00
|
|
|
.PHONY: check $(TESTS)
|
2018-02-14 15:39:40 +03:00
|
|
|
|
2018-03-10 05:36:53 +07:00
|
|
|
check: $(TESTS)
|
2018-02-14 15:39:40 +03:00
|
|
|
|
2018-02-25 15:44:28 +03:00
|
|
|
$(TESTS): %: %.expr
|
2018-03-27 01:51:22 +03:00
|
|
|
# @$(RC) $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
2018-03-10 05:36:53 +07:00
|
|
|
@cat $@.input | $(RC) -i $< > $@.log && diff $@.log orig/$@.log
|
2018-03-27 01:51:22 +03:00
|
|
|
# @cat $@.input | $(RC) -s $< > $@.log && diff $@.log orig/$@.log
|
2018-02-14 15:39:40 +03:00
|
|
|
|
|
|
|
|
clean:
|
2018-02-25 15:44:28 +03:00
|
|
|
rm -f test*.log *.s *~ $(TESTS)
|