From 952daab99c9272871e267242a89415aeb905b2f8 Mon Sep 17 00:00:00 2001 From: Brodie Thiesfield Date: Tue, 30 Jun 2009 09:44:12 +0000 Subject: add test target to Makefile --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f66fada..a04b5e3 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,6 @@ help: all: $(OBJS) $(CC) -o testsi $(OBJS) - - clean: rm -f core *.o testsi @@ -20,6 +18,10 @@ data: sed 's/\r\n$$/\n/g' < test1-expected.ini > unix.out mv unix.out test1-expected.ini +test: testsi + ./testsi -u -m -l test1-input.ini > test1-blah.ini + diff test1-output.ini test1-expected.ini + install: @echo No install required. Just include the SimpleIni.h header file to use it. -- cgit v1.2.3