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
Changes for Makefile: 4 added lines, 1 removed line.
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
Changes for test/00-compile.t: 8 added lines, 0 removed lines.
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
Changes for test/10-pod-coverage.t: 8 added lines, 0 removed lines.
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
Changes for test/main: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
#!/bin/sh -e

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