Debian Codegraph @

xt/pod-spelling.t

raw symbols SCIP
1 #!/usr/bin/env perl
2
3 # Test that the syntax of our POD documentation is valid
4 use strict;
5
6 BEGIN {
7 $| = 1;
8 $^W = 1;
9 }
10
11 my @MODULES = ( 'Test::Spelling 0.20', );
12
13 # Don't run tests during end-user installs
14 use Test::More;
15 # plan( skip_all => 'Author tests not required for installation' )
16 # unless ( $ENV{RELEASE_TESTING} or $ENV{AUTOMATED_TESTING} );
17
18 # Load the testing modules
19 foreach my $MODULE (@MODULES) {
20 eval "use $MODULE";
21 if ($@) {
22 $ENV{RELEASE_TESTING}
23 ? die("Failed to load required release-testing module $MODULE")
24 : plan( skip_all => "$MODULE not available for testing" );
25 }
26 }
27
28 all_pod_files_spelling_ok();
29
30 1;