Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 765
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] petdance.com
Requestors: kurmanov [...] openlib.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: a test failed, at Test-Harness' own make test
Hi, While trying to install Test-Harness-2.25 on my linux, make test failed at the test-harness.t script, test 49. Here are the details: ivan@zetta:~/install/Test-Harness-2.25> uname -a Linux zetta 2.4.18 #4 Tue May 28 15:34:27 EEST 2002 i686 unknown (That's SuSE 7.4-based system.) Perl -v: This is perl, v5.6.1 built for i586-linux Here is how it went: ivan@zetta:~/install/Test-Harness-2.25> perl Makefile.PL Test::Harness likes to have Devel::CoreStack, but doesn't require it. Checking if your kit is complete... Looks good Writing Makefile for Test::Harness ivan@zetta:~/install/Test-Harness-2.25> make cp lib/Test/Harness.pm blib/lib/Test/Harness.pm cp lib/Test/Harness/Assert.pm blib/lib/Test/Harness/Assert.pm cp lib/Test/Harness/Iterator.pm blib/lib/Test/Harness/Iterator.pm cp lib/Test/Harness/Straps.pm blib/lib/Test/Harness/Straps.pm Manifying blib/man3/Test::Harness.3pm Manifying blib/man3/Test::Harness::Assert.3pm Manifying blib/man3/Test::Harness::Iterator.3pm Manifying blib/man3/Test::Harness::Straps.3pm ivan@zetta:~/install/Test-Harness-2.25> make test PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/00compile........ok t/assert...........ok t/base.............ok t/callback.........ok t/nonumbers........ok t/ok...............ok t/strap-analyze....ok t/strap............ok t/test-harness.....NOK 49# Failed test (t/test-harness.t at line 477) # got: 'Integer overflow in hexadecimal number at (eval 96) line 1. # ' # expected: '' t/test-harness.....ok 177/177# Looks like you failed 1 tests of 177. t/test-harness.....dubious Test returned status 1 (wstat 256, 0x100) Integer overflow in hexadecimal number at (eval 80) line 1. DIED. FAILED test 49 Failed 1/177 tests, 99.44% okay (less 48 skipped tests: 128 okay, 72.32%) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/test-harness.t 1 256 177 1 0.56% 49 48 subtests skipped. Failed 1/9 test scripts, 88.89% okay. 1/447 subtests failed, 99.78% okay. make: *** [test_dynamic] Error 2 That's all. Hope this helps. If this might be helpful, I'll send you make test TEST_VERBOSE=1 output, just let me know.
Date: Wed, 19 Jun 2002 12:33:09 -0400
From: Michael G Schwern <schwern [...] pobox.com>
Subject: Re: [cpan #765] a test failed, at Test-Harness' own make test
To: Guest via RT <bug-Test-Harness [...] rt.cpan.org>
On Wed, Jun 19, 2002 at 10:15:54AM -0400, Guest via RT wrote: Show quoted text
> t/test-harness.....NOK 49# Failed test (t/test-harness.t at line 477) > # got: 'Integer overflow in hexadecimal number at (eval 96) line 1. > # ' > # expected: '' > t/test-harness.....ok 177/177# Looks like you failed 1 tests of 177.
Well isn't that bizarre. Run the following commands from the Test-Harness-2.25 source directory, please. schwern@blackrider:/tmp/Test-Harness-2.25$ perl -It/lib -Ilib t/sample-tests/die_head_end ok 1 ok 2 ok 3 ok 4 schwern@blackrider:/tmp/Test-Harness-2.25$ perl -It/lib -Ilib -MTest::Harness -wle 'runtests @ARGV' t/sample-tests/die_head_end t/sample-tests/die_head_end...dubious Test returned status 1 (wstat 256, 0x100) FAILED--1 test script could be run, alas--no output ever seen If my hunch is right, one of those two should produce your Integer overflow warning. -- This sig file temporarily out of order.
Please try the latest & greatest Test::Harness 2.32. It should work fine for you.