From b3b7830e4a6f50963a8adca0cdd42d201df718b9 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 19 Mar 2014 09:24:59 -0700 Subject: [PATCH] add test target to makefile --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ce8065f..d4c8845 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,10 @@ +PERL ?= /usr/bin/perl + +test: + $(PERL) -MTest::Harness -I. -e 'runtests(glob(q(t/*.t)))' + +test_%: t/%.t + $(PERL) -MTest::Harness -I. -e 'runtests(q($<))' html: ./dohtml @@ -14,4 +21,4 @@ status: rescan: ./crontab -.PHONY: html graph post status rescan +.PHONY: html graph post status rescan test -- 2.39.2