Commit 3717d304 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Use prove for tests. Might be a bit ugly right now... hm.

parent c70587fd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4,8 +4,8 @@ all:
	@${MAKE} -C src

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

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

+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ use Test::Command tests => 48;
my $feh = 'src/feh';
my $images = 'test/ok.* test/fail.*';

my ($feh_name, $feh_version) = @ARGV;
my ($feh_name, $feh_version) = @ENV{'PACKAGE', 'VERSION'};

my $re_warning =
	qr{${feh_name} WARNING: test/fail\.... \- No Imlib2 loader for that file format\n};