From 3bbda921b7180340ccc50c1a8a2bf01631508f36 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 31 Mar 2011 12:11:19 +0100 Subject: Created a little Test::More-like library for TAP testing --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d9a5b10..da19c7f 100644 --- a/Makefile +++ b/Makefile @@ -81,12 +81,15 @@ doc: $(BUILTMAN) %.3: %.3.sh sh $< >$@ -TESTSOURCES=$(wildcard t/*.c) +TESTSOURCES=$(wildcard t/[0-9]*.c) TESTFILES=$(TESTSOURCES:.c=.t) -t/%.t: t/%.c $(LIBRARY) +t/%.t: t/%.c $(LIBRARY) t/taplib.lo $(LIBTOOL) --mode=link --tag=CC gcc -o $@ $^ +t/taplib.lo: t/taplib.c + $(LIBTOOL) --mode=compile --tag=CC gcc $(CFLAGS) -o $@ -c $^ + test: $(TESTFILES) prove -e "" -- cgit v1.2.3-70-g09d2