On Saturday 30 December 2006 05:47, James Keenan wrote:
> Can you send me some output with test failures? They've passed
> repeatedly on my machine.
>
> Please note that the pmc2cutil tests should only be run at a point
> *after* you've called perl Configure.pl but *before* you've called
> 'make'. That's because if you've already run 'make', you've created
> some of the files whose creatability is the thing to be tested by the
> pmc2cutil/*.t tests. If those files already exist on your disk,
> rather than give you false positives, some of the tests are
> deliberately designed to fail.
>
> I was getting burned by false positives for three weeks before I
> realized this. But before I conclude that this is your problem, I'll
> need to see some output. Thank you very much.
Here's what I get on an x86 Linux machine:
/usr/bin/perl t/harness t/tools/pmc2cutils/00-qualify.t
t/tools/pmc2cutils/01-pmc2cutils.t t/tools/pmc2cutils/02-find_file.t
t/tools/pmc2cutils/03-dump_vtable.t t/tools/pmc2cutils/04-dump_pmc.t
t/tools/pmc2cutils/05-gen_c.t t/tools/pmc2cutils/06-print_tree.t
t/tools/pmc2cutils/07-open_file.t
t/tools/pmc2cutils/00-qualify........ok
t/tools/pmc2cutils/01-pmc2cutils.....
# Failed test (t/tools/pmc2cutils/01-pmc2cutils.t at line 48)
# Parrot::Pmc2c::Utils->can('add_defaulted') failed
# Looks like you failed 1 test of 28.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 18
Failed 1/28 tests, 96.43% okay
t/tools/pmc2cutils/02-find_file......ok
t/tools/pmc2cutils/03-dump_vtable....ok
t/tools/pmc2cutils/04-dump_pmc.......
# Failed test (t/tools/pmc2cutils/04-dump_pmc.t at line 478)
# got: '1167508484'
# expected: '1167508487'
# Looks like you failed 1 test of 107.
dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 94
Failed 1/107 tests, 99.07% okay
t/tools/pmc2cutils/05-gen_c..........ok
t/tools/pmc2cutils/06-print_tree.....ok
t/tools/pmc2cutils/07-open_file......ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/tools/pmc2cutils/01-pmc2cutils.t 1 256 28 1 18
t/tools/pmc2cutils/04-dump_pmc.t 1 256 107 1 94
Failed 2/8 test scripts. 2/297 subtests failed.
Files=8, Tests=297, 6 wallclock secs ( 3.80 cusr + 0.15 csys = 3.95 CPU)
Failed 2/8 test programs. 2/297 subtests failed.
make: *** [buildtools_tests] Error 255
-- c