Commit 616becbf authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Replace shell test script by Perl TAP stuff, add test target to Makefile

parent 382fc245
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -17,7 +17,10 @@ uninstall:
	rm -f ${basedir}/bin/efa
	rm -f ${basedir}/share/man/man1/efa.1

test:
	@prove test

clean:
	rm -rf build

.PHONY: install uninstall clean
.PHONY: install uninstall test clean

test/00-compile.t

0 → 100755
+8 −0
Original line number Diff line number Diff line
#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;
use Test::More;
use Test::Compile;

all_pl_files_ok('bin/efa');

test/10-pod-coverage.t

0 → 100755
+8 −0
Original line number Diff line number Diff line
#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;
use Test::More;
use Test::Pod;

all_pod_files_ok('bin/efa');

test/main

deleted100755 → 0
+0 −4
Original line number Diff line number Diff line
#!/bin/sh -e

podchecker -warnings -warnings bin/*
perl -c bin/efa