| Subject: | [svn:parrot] r29846 - trunk/t/doc |
|---|---|
| From: | infinoid@xxxxxxxxxxxx |
| Date: | Tue, 29 Jul 2008 08:18:06 -0700 (PDT) |
| Newsgroups: | perl.cvs.parrot |
Author: infinoid
Date: Tue Jul 29 08:18:06 2008
New Revision: 29846
Modified:
trunk/t/doc/pod.t
Log:
[t] Apply patch from donaldh++ to fix a test on cygwin.
(-e pbc_to_exe is true for pbc_to_exe.exe on cygwin, which confuses the test)
Modified: trunk/t/doc/pod.t
==============================================================================
--- trunk/t/doc/pod.t (original)
+++ trunk/t/doc/pod.t Tue Jul 29 08:18:06 2008
@@ -68,15 +68,14 @@
foreach my $file (@files) {
$file = "$build_dir/$file";
- # skip missing MANIFEST.generated files
- next unless -e $file;
+ # skip missing MANIFEST.generated files ( -e )
+ # skip binary files (including .pbc files) ( -B )
+ # skip files that pass the -e test because they resolve the .exe variant
+ next unless -T $file;
# Skip the book, because it uses extended O'Reilly-specific POD
next if $file =~ m{docs/book/};
- # skip binary files (including .pbc files)
- next if -B $file;
-
# skip files without POD
next unless Pod::Find::contains_pod( $file, 0 );
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [svn:parrot] r29845 - trunk/languages/perl6/src/classes, jonathan |
|---|---|
| Next by Date: | [svn:parrot] r29847 - trunk/languages/perl6/t, moritz |
| Previous by Thread: | [svn:parrot] r29845 - trunk/languages/perl6/src/classes, jonathan |
| Next by Thread: | [svn:parrot] r29847 - trunk/languages/perl6/t, moritz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |