projects
/
p5sagit/Function-Parameters.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7b24d84
)
don't test POD for end users
Lukas Mai [Sun, 31 Mar 2013 12:45:06 +0000 (14:45 +0200)]
GNUmakefile
patch
|
blob
|
blame
|
history
t/00-load.t
patch
|
blob
|
blame
|
history
t/pod.t
patch
|
blob
|
blame
|
history
diff --git
a/GNUmakefile
b/GNUmakefile
index
121469e
..
1b1e054
100644
(file)
--- a/
GNUmakefile
+++ b/
GNUmakefile
@@
-1,3
+1,5
@@
+export RELEASE_TESTING=1
+
include ./Makefile
CCFLAGS := -DDEVEL $(CCFLAGS)
diff --git
a/t/00-load.t
b/t/00-load.t
index
2fdf461
..
de56c1d
100644
(file)
--- a/
t/00-load.t
+++ b/
t/00-load.t
@@
-1,4
+1,4
@@
-#!perl -T
+#!perl
use Test::More tests => 1;
diff --git
a/t/pod.t
b/t/pod.t
index
ee8b18a
..
ea25e57
100644
(file)
--- a/
t/pod.t
+++ b/
t/pod.t
@@
-1,9
+1,11
@@
-#!perl -T
+#!perl
use strict;
use warnings;
use Test::More;
+plan skip_all => "set RELEASE_TESTING=1 to run this test" unless $ENV{RELEASE_TESTING};
+
# Ensure a recent version of Test::Pod
my $min_tp = 1.22;
eval "use Test::Pod $min_tp";