BASE = ../.. RUN_TEST = run-test.pl GET_COV = get-cov.pl COVERAGE_OUTPUT = coverage COVERAGE_TITLE = Cesar all: tests.all.brief tests.all.result .PHONY: tests.all tests.all: tests $(RUN_TEST) -perl $(RUN_TEST) $(BASE) < $< > $@ 2>&1 clean: tests.clean rm -f tests.all.brief tests.all tests.clean .PHONY: tests.clean tests.clean: tests $(RUN_TEST) perl $(RUN_TEST) -I clean $(BASE) < $< > $@ 2>&1 %.brief: % grep '^==' < $< > $@ %.result: %.brief grep '^===' < $< .PHONY: cov cov: tests $(GET_COV) genhtml -q -t $(COVERAGE_TITLE) -o $(COVERAGE_OUTPUT) -s $$(perl $(GET_COV) $(BASE) < $<) long: tests.long.all.brief tests.long.all.result clean.long: tests.long.clean rm -f tests.long.all tests.long.all.brief tests.long.all.result .PHONY: tests.long.all tests.long.all: tests.long $(RUN_TEST) -perl $(RUN_TEST) $(BASE) -t 7200 < $< > $@ 2>&1 .PHONY: tests.long.clean tests.long.clean: tests.long $(RUN_TEST) perl $(RUN_TEST) -I clean $(BASE) < $< > $@ 2>&1