diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-02 06:14:44 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-02 06:14:44 +0000 |
commit | 27f805f47766187affd2ea71d406ac389f4fe181 (patch) | |
tree | 00fbd71f028a2deb76817c1ec92286afced4079f /t/pod/testp2pt.pl | |
parent | 664bb207f6bd57f05b66c9abec00898987f7060b (diff) | |
download | perl-27f805f47766187affd2ea71d406ac389f4fe181.tar.gz |
fix PodParser testsuite; Pod::Text subsumes Pod::PlainText
p4raw-id: //depot/perl@4281
Diffstat (limited to 't/pod/testp2pt.pl')
-rw-r--r-- | t/pod/testp2pt.pl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/pod/testp2pt.pl b/t/pod/testp2pt.pl index d917ad9d21..234a5271c4 100644 --- a/t/pod/testp2pt.pl +++ b/t/pod/testp2pt.pl @@ -45,7 +45,7 @@ $INSTDIR = (dirname $INSTDIR) if (basename($INSTDIR) eq 'xtra'); $INSTDIR = (dirname $INSTDIR) if (basename($INSTDIR) eq 'pod'); $INSTDIR = (dirname $INSTDIR) if (basename($INSTDIR) eq 't'); my @PODINCDIRS = ( catfile($INSTDIR, 'lib', 'Pod'), - catfile($INSTDIR, 'scripts'), + catfile($INSTDIR, 'pod'), catfile($INSTDIR, 't', 'pod'), catfile($INSTDIR, 't', 'pod', 'xtra') ); @@ -119,7 +119,7 @@ sub testpodinc2plaintext( @ ) { return $msg; } - print "+ Running testpodinc2plaintext for '$testname'...\n"; + print "# Running testpodinc2plaintext for '$testname'...\n"; ## Compare the output against the expected result podinc2plaintext($infile, $outfile); if ( testcmp($outfile, $cmpfile) ) { @@ -153,12 +153,12 @@ sub testpodplaintext( @ ) { if ($opts{'-xrgen'}) { if ($opts{'-force'} or ! -e $cmpfile) { ## Create the comparison file - print "+ Creating expected result for \"$testname\"" . + print "# Creating expected result for \"$testname\"" . " pod2plaintext test ...\n"; podinc2plaintext($podfile, $cmpfile); } else { - print "+ File $cmpfile already exists" . + print "# File $cmpfile already exists" . " (use '-force' to regenerate it).\n"; } next; @@ -170,13 +170,13 @@ sub testpodplaintext( @ ) { -Cmp => $cmpfile; if ($failmsg) { ++$failed; - print "+\tFAILED. ($failmsg)\n"; + print "#\tFAILED. ($failmsg)\n"; print "not ok ", $failed+$passes, "\n"; } else { ++$passes; unlink($outfile); - print "+\tPASSED.\n"; + print "#\tPASSED.\n"; print "ok ", $failed+$passes, "\n"; } } |