develooper Front page | perl.perl5.porters | Postings from November 2003

Re: 'make minitest' fails for op/cproto and op/pat

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
November 5, 2003 06:27
Subject:
Re: 'make minitest' fails for op/cproto and op/pat
Message ID:
20031105142635.GA22761@localhost.comcast.net
t/op tests shouldn't be using Test::More for exactly this reason.  Use
test.pl instead.

--- t/op/cproto.t	2003/11/05 14:23:51	1.1
+++ t/op/cproto.t	2003/11/05 14:25:02
@@ -6,7 +6,9 @@
     @INC = '../lib';
 }
 
-use Test::More tests => 234;
+BEGIN { require './test.pl'; }
+plan tests => 234;
+
 while (<DATA>) {
     chomp;
     my ($keyword, $proto) = split;


On Wed, Nov 05, 2003 at 05:45:47AM -0800, Gisle Aas wrote:
> t/op/cproto..........Can't load module threads, dynamic loading not available in this perl.
>   (You may need to build a new perl executable which either supports
>   dynamic loading or has the threads module statically linked into it.)
>  at ../lib/Test/Builder.pm line 20
> Compilation failed in require at ../lib/Test/Builder.pm line 20.
> BEGIN failed--compilation aborted at ../lib/Test/Builder.pm line 28.
> Compilation failed in require at ../lib/Test/More.pm line 6.
> BEGIN failed--compilation aborted at ../lib/Test/More.pm line 6.
> Compilation failed in require at op/cproto.t line 9.
> BEGIN failed--compilation aborted at op/cproto.t line 9.
> FAILED at test 0

-- 
Michael G Schwern        schwern@pobox.com  http://www.pobox.com/~schwern/
Worship the sig file

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About