diff options
Diffstat (limited to 'tests/docs')
| -rwxr-xr-x | tests/docs/pod-spelling-t | 13 | ||||
| -rwxr-xr-x | tests/docs/pod-t | 12 | 
2 files changed, 14 insertions, 11 deletions
| diff --git a/tests/docs/pod-spelling-t b/tests/docs/pod-spelling-t index e1a95cd..7b61c86 100755 --- a/tests/docs/pod-spelling-t +++ b/tests/docs/pod-spelling-t @@ -1,14 +1,12 @@  #!/usr/bin/perl  #  # Checks all POD files in the tree for spelling errors using Test::Spelling. -# This test is disabled unless RRA_MAINTAINER_TESTS is set, since spelling -# dictionaries vary too much between environments.  #  # The canonical version of this file is maintained in the rra-c-util package,  # which can be found at <http://www.eyrie.org/~eagle/software/rra-c-util/>.  # -# Written by Russ Allbery <rra@stanford.edu> -# Copyright 2012, 2013 +# Written by Russ Allbery <eagle@eyrie.org> +# Copyright 2012, 2013, 2014  #     The Board of Trustees of the Leland Stanford Junior University  #  # Permission is hereby granted, free of charge, to any person obtaining a @@ -36,11 +34,12 @@ use warnings;  use lib "$ENV{SOURCE}/tap/perl";  use Test::More; -use Test::RRA qw(skip_unless_maintainer use_prereq); +use Test::RRA qw(skip_unless_author use_prereq);  use Test::RRA::Automake qw(automake_setup perl_dirs); -# Only run this test for the maintainer. -skip_unless_maintainer('Spelling tests'); +# Only run this test for the module author since the required stopwords are +# too sensitive to the exact spell-checking program and dictionary. +skip_unless_author('Spelling tests');  # Load prerequisite modules.  use_prereq('Test::Spelling'); diff --git a/tests/docs/pod-t b/tests/docs/pod-t index 2743287..53f9925 100755 --- a/tests/docs/pod-t +++ b/tests/docs/pod-t @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl  #  # Check all POD documents in the tree, except for any embedded Perl module  # distribution, for POD formatting errors. @@ -6,8 +6,8 @@  # The canonical version of this file is maintained in the rra-c-util package,  # which can be found at <http://www.eyrie.org/~eagle/software/rra-c-util/>.  # -# Written by Russ Allbery <rra@stanford.edu> -# Copyright 2012, 2013 +# Written by Russ Allbery <eagle@eyrie.org> +# Copyright 2012, 2013, 2014  #     The Board of Trustees of the Leland Stanford Junior University  #  # Permission is hereby granted, free of charge, to any person obtaining a @@ -35,9 +35,13 @@ use warnings;  use lib "$ENV{SOURCE}/tap/perl";  use Test::More; -use Test::RRA qw(use_prereq); +use Test::RRA qw(skip_unless_automated use_prereq);  use Test::RRA::Automake qw(automake_setup perl_dirs); +# Skip this test for normal user installs, since we normally pre-generate all +# of the documentation and the end user doesn't care. +skip_unless_automated('POD syntax tests'); +  # Load prerequisite modules.  use_prereq('Test::Pod'); | 
