From a040a9eddc6a5f2d405caccc753dc9be139a894f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Sun, 6 Nov 2011 22:02:11 +0100 Subject: [PATCH] add the test --- t/01compile.t | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 t/01compile.t diff --git a/t/01compile.t b/t/01compile.t new file mode 100755 index 0000000000..1347301464 --- /dev/null +++ b/t/01compile.t @@ -0,0 +1,21 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use English qw(-no_match_vars); +use Test::More; + +eval { + require Test::Compile; + Test::Compile->import(); +}; +if ($EVAL_ERROR) { + my $msg = 'Test::Compile required'; + plan(skip_all => $msg); +} + +# exclude linked modules +my @files = all_pm_files('lib'); + +all_pm_files_ok(@files);