List Info

Thread: make t/op/pack.t not explode when u64size=''




make t/op/pack.t not explode when u64size=''
user name
2007-10-08 10:09:35
In $Config from Config u64size can = '', which makes
t/op/pack.t die
when setting up tests due to a numify warning.

This fixes it, as u*size should never == 0.

The remaining failures on QNX4 are to do with path
weirdness, path
lengths and static/dynaic confusion, which I'm trying to
sort through
without sprinkling lots of skipping around the test suite.

Alex Gough

--- t/op/pack.t.orig    2007-05-10 12:44:51.000000000 +0000
+++ t/op/pack.t 2007-10-08 15:04:16.000000000 +0000
 -43,7
+43,7 
 }

 for my $size ( 16, 32, 64 ) {
-  if (defined $Config{"u$size"} and
$Config{"u$size"} != ($size >> 3)) {
+  if (defined $Config{"u$size"} and
($Config{"u$size"}||0) != ($size >>
3)) {
     push valid_errors, qr/^Perl_my_$maybe_not_avail$size()
not available/;
   }
 }


Re: make t/op/pack.t not explode when u64size=''
user name
2007-10-08 11:00:14
On 08/10/2007, Alex Gough <alex-p5pearth.li> wrote:
> In $Config from Config u64size can = '', which makes
t/op/pack.t die
> when setting up tests due to a numify warning.
>
> This fixes it, as u*size should never == 0.
>
> The remaining failures on QNX4 are to do with path
weirdness, path
> lengths and static/dynaic confusion, which I'm trying
to sort through
> without sprinkling lots of skipping around the test
suite.

Thanks, applied.

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )