diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-03-31 11:38:40 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-03-31 11:38:40 +0100 |
commit | c228335bcac2a691a3048d7ce50f25079bfcea8c (patch) | |
tree | b16f461dcbaf3ccbe3df804181f2915dc9c6cf11 /Makefile | |
parent | 26ef76349e5c009740baa985cb16963e79d13765 (diff) | |
download | termo-c228335bcac2a691a3048d7ce50f25079bfcea8c.tar.gz termo-c228335bcac2a691a3048d7ce50f25079bfcea8c.tar.xz termo-c228335bcac2a691a3048d7ce50f25079bfcea8c.zip |
Created a unit-testing system using perl's prove
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -81,6 +81,15 @@ doc: $(BUILTMAN) %.3: %.3.sh sh $< >$@ +TESTSOURCES=$(wildcard t/*.c) +TESTFILES=$(TESTSOURCES:.c=.t) + +t/%.t: t/%.c $(LIBRARY) + $(LIBTOOL) --mode=link --tag=CC gcc -o $@ $^ + +test: $(TESTFILES) + prove -e "" + clean: clean-built clean-built: |