Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated to exclude 'docs/pdds' and 'docs/pdds/draft' from the test fo…

…r DESCRIPTION. There are two reasons for this exclusion: (1) 'pdds' have their own, specific format set out in 'docs/pdds/pdd00_pdd.pod' and 'docs/pdds/pdd_template.pod' and (2) we already test the POD for 'pdds' in 't/codingstd/pdd_format.t'.
  • Loading branch information...
commit 35375528db2c43a97fc9d102fcb481832db5f687 1 parent f127601
@ayardley ayardley authored
Showing with 18 additions and 3 deletions.
  1. +18 −3 lib/Parrot/Test/Pod.pm
View
21 lib/Parrot/Test/Pod.pm
@@ -1,4 +1,4 @@
-# Copyright (C) 2009, Parrot Foundation.
+# Copyright (C) 2009-2012, Parrot Foundation.
=head1 NAME
@@ -53,6 +53,19 @@ our %second_analysis_subs = (
next SECOND_FILE;
}
+ # skip 'docs/pdds' and 'docs/pdds/draft' for two reasons:
+ #
+ # (1) 'pdds' have their own, specific format requirements and
+ # (See 'docs/pdds/pdd00_pdd.pod' and see
+ # 'docs/pdds/pdd_template.pod'.)
+ # (2) we already test the POD in 'pdds' in
+ # 't/codingstd/pdd_format.t'
+ if ($full_file =~ m{docs/pdds/} or
+ $full_file =~ m{docs/pdds/draft}) {
+ delete $files_needing_analysis->{ $file };
+ next SECOND_FILE;
+ }
+
# skip POD generating scripts
if ($full_file =~ m/ops_summary\.pl/) {
delete $files_needing_analysis->{ $file };
@@ -308,12 +321,14 @@ Path to build directory (currently, the top-level Parrot directory).
B<Return Value:> Reference to hash of files meriting analysis, I<i.e.,> the
results of the first pass minus the results of the second pass.
-=cut
-
=head1 AUTHOR
James E Keenan, refactored from earlier code
+=head1 HISTORY
+
+* [2012-06-05] Updated by Alvis Yardley <ac.yardley@gmail.com>
+
=cut
# Pulled from Test::Pod
Please sign in to comment.
Something went wrong with that request. Please try again.