Commit 1cffd680 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Add a test script

I know that there is one in the old SVN repo, but I think a rewrite
(with an automated test script) is due.
parent e70bc120
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
include config.mk

default:
all:
	@${MAKE} -C src

test: all
	mandoc -Tlint man/*
	perl test/test.pl ${PACKAGE} ${VERSION}

install: install-man install-doc install-bin install-font install-img

install-man:
@@ -59,5 +63,5 @@ uninstall:
clean:
	@${MAKE} -C src clean

.PHONY: default install uninstall clean install-man install-doc install-bin \
.PHONY: all test install uninstall clean install-man install-doc install-bin \
	install-font install-img

test/customlist

0 → 100644
+4 −0
Original line number Diff line number Diff line
test/ok.gif; 16; 4; list; ok.gif; 256; 953; gif; 0; 16
test/ok.jpg; 16; 4; list; ok.jpg; 256; 354; jpeg; 0; 16
test/ok.png; 16; 4; list; ok.png; 256; 403; png; 0; 16
test/ok.pnm; 16; 4; list; ok.pnm; 256; 269; pnm; 0; 16

test/fail.gif

0 → 100644
+0 −0

Empty file added.

test/fail.jpg

0 → 100644
+0 −0

Empty file added.

test/fail.png

0 → 100644
+0 −0

Empty file added.

Loading