[perl #60662] Failed tests: t/pmc/nci.t

[email protected] ("[email protected] (via RT)")
Newsgroups perl.perl6.internals
Message-ID <[email protected]>
# New Ticket Created by  [email protected] 
# Please include the string:  [perl #60662]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60662 >


---
osname= linux
osvers= 2.6.23-gentoo-r3
arch=   x86_64-linux
cc=     x86_64-pc-linux-gnu-gcc
---
Flags:
    category=core
    severity=medium
    ack=no
---
I just updated svn and built parrot with just perl ./Configure.pl, make, make
test.  I had the following test fail:

prove -dv t/pmc/nci.t
# $Test::Harness::Switches:
# 1 tests to run
t/pmc/nci....# Running: /usr/bin/perl5.8.8  t/pmc/nci.t
# PERL5LIB=/etc/perl:/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux:/usr/lib64/perl5/vendor_perl/5.8.8:/usr/lib64/perl5/vendor_perl:/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux:/usr/lib64/perl5/site_perl/5.8.8:/usr/lib64/perl5/site_perl:/usr/lib64/perl5/5.8.8/x86_64-linux:/usr/lib64/perl5/5.8.8:/usr/local/lib/site_perl:.
1..68
ok 1 - load library fails
ok 2 - dlfunc on undef
ok 3 - dlfunc function not found
ok 4 - nci_c - return a char in an INTEGER register
ok 5 - nci_d and nci_dlvar_double
ok 6 - nci_f and nci_dlvar_float
ok 7 - nci_l - return a long in an INTEGER register
ok 8 - nci_p - return a pointer to int
ok 9 - nci_t - return a C-string
ok 10 - nci_s - return a short in an INTEGER register
ok 11 - nci_v and nci_dlvar_int
ok 12 - nci_dd - PASM
ok 13 - nci_dd - PIR
ok 14 - get_string()
ok 15 - nci_fff
ok 16 - nci_isc
ok 17 - nci_ssc
ok 18 - nci_csc
ok 19 - nci_it
ok 20 - nci_it
ok 21 - nci_tt
ok 22 - nci_dd - stress test
ok 23 - nci_dd - clone
ok 24 - nci_iiii
ok 25 - nci_i4i
ok 26 - nci_ii3
ok 27 - nci_tb
ok 28 - nci_tB
ok 29 - nci_pi - struct with ints
ok 30 - nci_pi - struct with floats
ok 31 - nci_pi - align
ok 32 - nci_pi - char*
ok 33 - nci_pi - nested struct *
ok 34 - nci_pi - nested struct * w named access
ok 35 - nci_pi - func_ptr* with signature
ok 36 - nci_pi - nested struct aligned
ok 37 - nci_pi - nested struct unaligned
ok 38 - nci_pi - nested, unaligned, named
ok 39 - nci_pi - int
ok 40 - nci_ip
ok 41 - nci_vP
ok 42 - nci_cb_C1 - PASM
ok 43 - nci_cb_C1 - PIR
ok 44 - nci_cb_C2 - PASM
ok 45 - nci_cb_C3 - PIR
ok 46 - nci_cb_D1 - PASM
ok 47 - nci_cb_D2 - PASM
ok 48 - nci_cb_D2 - PIR
ok 49 - nci_cb_D3 - PIR
ok 50 - nci_cb_D4 - synchronous callbacks
ok 51 - nci_pip - array of structs
ok 52 - nci_i33 - out parameters and return values
ok 53 - nci_vpii - nested structs
ok 54 - nci_piiii - nested array in a struct
ok 55 - nci_pii - writing back to libnci_test.so
ok 56 - nci_vv and nci_dlvar_int
ok 57 - dlvar - unknown symbol
ok 58 - dlfunc - unknown symbol
ok 59 - loading same library twice
ok 60 - opcode 'does'
ok 61 - conversion d <-> P
ok 62 - conversion S <-> P
ok 63 - conversion I <-> P
not ok 64 - nested structs should be independent # TODO RT #31292

#   Failed (TODO) test 'nested structs should be independent'
#   at t/pmc/nci.t line 2538.
#          got: 'X: 1
# Y: 100
# X: 1
# Y: 200
# '
#     expected: 'X: 1
# Y: 100
# X: 1
# Y: 100
# '
ok 65 - arity
ok 66 - nci_vVi - void** out parameter
ok 67 - nci_ttt - t_tt parameter

#   Failed test 'nci_vfff - t_tt parameter'
not ok 68 - nci_vfff - t_tt parameter
#   at t/pmc/nci.t line 2689.
# Exited with error code: [SIGNAL 3]
# Received:
# Parrot VM: PANIC: vfff is an unknown signature type.
# CAN_BUILD_CALL_FRAMES is disabled, add the signature to src/call_list.txt!
# C file src/nci.c, line 7500
# Parrot file (not available), line (not available)
#
# We highly suggest you notify the Parrot team if you have not been working on
# Parrot.  Use parrotbug (located in parrot's root directory) or send an
# e-mail to [email protected].
# Include the entire text of this error message and the text of the script that
# generated the error.  If you've made any modifications to Parrot, please
# describe them as well.
#
# Version     : 0.8.1-devel
# Configured  : Wed Nov 19 05:57:18 2008 GMT
# Architecture: nojit
# JIT Capable : No
# Interp Flags: 0
# Exceptions  : (missing from core)
#
# Dumping Core...
#
# Expected:
# 1
# 1
# 1
#
# Looks like you failed 1 test of 68.
dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 68
        Failed 1/68 tests, 98.53% okay
Failed Test Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/pmc/nci.t    1   256    68    1  68
Failed 1/1 test scripts. 1/68 subtests failed.
Files=1, Tests=68,  6 wallclock secs ( 1.24 cusr +  2.49 csys =  3.73 CPU)
Failed 1/1 test programs. 1/68 subtests failed.

This is on a machine running Gentoo linux.  If there's any other information i can provide let me know.

Adam

---
Summary of my parrot 0.8.1 (r32864) configuration:
  configdate='Wed Nov 19 05:57:18 2008 GMT'
  Platform:
    osname=linux, archname=x86_64-linux
    jitcapable=0, jitarchname=nojit,
    jitosname=linux, jitcpuarch=amd64
    execcapable=0
    perl=/usr/bin/perl5.8.8
  Compiler:
    cc='x86_64-pc-linux-gnu-gcc', ccflags=' -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -D_GNU_SOURCE -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16 -fvisibility=hidden -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wn!
 o-unused -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wc++-compat -Wdeclaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -DHAS_GETTEXT',
  Linker and Libraries:
    ld='x86_64-pc-linux-gnu-gcc', ldflags=' -L/usr/local/lib64',
    cc_ldflags='',
    libs='-lpthread -lnsl -ldl -lm -lcrypt -lutil -lrt -lgmp -lreadline -lpcre -lcrypto '
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared -L/usr/local/lib64 -fPIC',
    load_ext='.so', ld_load_flags='-shared -L/usr/local/lib64 -fPIC'
  Types:
    iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
    ptrsize=8, ptr_alignment=1 byteorder=12345678, 
    nv=double, numvalsize=8, doublesize=8

---
Environment:
    HOME =/home/adam
    LANG =en_CA.utf8
    LANGUAGE  (unset)
    LC_COLLATE =POSIX
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH =/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/var/qmail/bin
    SHELL =/bin/bash
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.