Hello,

I tried to create a test suite file containing the following code:

------ clip -------
#! /usr/local/bin/perl

use strict;
use Test::Harness qw( &runtests $verbose );
$verbose=1;
my @AoC = ( "t/00.pl" );
my $len = @AoC;
print "1..$len\n";
runtests( @AoC );
------ clip -------

The file t/00.pl contains the following lines:

------ clip -------
#! /usr/local/bin/perl

print "ok\n";
------ clip -------

Yet I got the following output when I run the suite file:

------ clip -------
test> ./suite.pl
1..1
t/00.p..............ok
FAILED before any test output arrived
FAILED--1 test script could be run, alas--no output ever seen
------ clip -------

Commenting out the $verbose=1 line does not change anything to the result:
------ clip -------
test> ./suite.pl
1..1
t/00.p..............FAILED before any test output arrived
FAILED--1 test script could be run, alas--no output ever seen
------ clip -------

What am I doing wrong?
-- 
        Claude

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to