develooper Front page | perl.perl5.porters | Postings from October 2013

[perl #120408] fix dist/ExtUtils-ParseXS/t/002-more.t

Thread Previous
From:
Francois PERRAD
Date:
October 29, 2013 12:45
Subject:
[perl #120408] fix dist/ExtUtils-ParseXS/t/002-more.t
Message ID:
rt-4.0.18-24525-1383050702-1137.120408-75-0@perl.org
# New Ticket Created by  Francois PERRAD 
# Please include the string:  [perl #120408]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=120408 >


 This is a bug report for perl from francois.perrad@gadz.org,
generated with the help of perlbug 1.39 running under perl 5.19.5.


-----------------------------------------------------------------
[Please describe your issue here]

dist/ExtUtils-ParseXS/t/002-more.t was broken by the last commit
(the plan is fragile 29 = 2 + 2 + 25)
see below the test output and the patch

# ./perl harness -v ../dist/ExtUtils-ParseXS/t/002-more.t
../dist/ExtUtils-ParseXS/t/002-more.t ..
1..29
ok 1 - require ExtUtils::ParseXS;
ok 2 - Create an output file
ok 3 # skip no compiler available
ok 4 # skip no compiler available
ok 5 # skip no dynamic loading
ok 6 # skip no dynamic loading
ok 7 # skip no dynamic loading
ok 8 # skip no dynamic loading
ok 9 # skip no dynamic loading
ok 10 # skip no dynamic loading
ok 11 # skip no dynamic loading
ok 12 # skip no dynamic loading
ok 13 # skip no dynamic loading
ok 14 # skip no dynamic loading
ok 15 # skip no dynamic loading
ok 16 # skip no dynamic loading
ok 17 # skip no dynamic loading
ok 18 # skip no dynamic loading
ok 19 # skip no dynamic loading
ok 20 # skip no dynamic loading
ok 21 # skip no dynamic loading
ok 22 # skip no dynamic loading
ok 23 # skip no dynamic loading
ok 24 # skip no dynamic loading
ok 25 # skip no dynamic loading
ok 26 # skip no dynamic loading
ok 27 # skip no dynamic loading
ok 28 # skip no dynamic loading
Dubious, test returned 255 (wstat 65280, 0xff00)
# Looks like you planned 29 tests but ran 28.
Failed 1/29 subtests
(less 26 skipped subtests: 2 okay)


[PATCH] fix dist/ExtUtils-ParseXS/t/002-more.t

the plan is fragile 29 = 2 + 2 + 25

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 dist/ExtUtils-ParseXS/t/002-more.t |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/dist/ExtUtils-ParseXS/t/002-more.t
===================================================================
--- a/dist/ExtUtils-ParseXS/t/002-more.t
+++ b/dist/ExtUtils-ParseXS/t/002-more.t
@@ -43,7 +43,7 @@
 }

 SKIP: {
-  skip "no dynamic loading", 24
+  skip "no dynamic loading", 25
     if !$b->have_compiler || !$Config{usedl};
   my $module = 'XSMore';
   $lib_file = $b->link( objects => $obj_file, module_name => $module );
-- 


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=low
    module=ExtUtils::ParseXS
---
Site configuration information for perl 5.19.5:

Configured by user at Tue Oct 29 08:25:53 CET 2013.

Summary of my perl5 (revision 5 version 19 subversion 5) configuration:

  Platform:
    osname=linux, osvers=3.10.7, archname=buildroot-linux-uclibcgnueabi
    uname='Buildroot 2013.08.1-g58be958-dirty'
    config_args='-des -Dusecrosscompile
-Dtargetrun=/home/user/build/qarm/host/usr/bin/qemu-arm
-Dqemulib=/home/user/build/qarm/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot
-Dar=/home/user/build/qarm/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-ar
-Dcc=/home/user/build/qarm/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc
-Dcpp=/home/user/build/qarm/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc
-Dld=/home/user/build/qarm/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-ld
-Dnm=/home/user/build/qarm/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-nm
-Dranlib=/home/user/build/qarm/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-ranlib
-Dccflags=  -pipe -Os  -Dldflags= -lgcc_s -lm -Dlddlflags=-shared
-Dlibc=/home/user/build/qarm/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/lib/libc.so
-Duseshrplib -Dprefix=/usr -Uoptimize -Dusedevel -Uuselargefiles'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=undef, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='/home/user/build/qarm/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc',
ccflags ='-pipe -Os -fno-strict-aliasing',
    optimize=' ',
    cppflags='-pipe -Os -fno-strict-aliasing'
    ccversion='', gccversion='4.7.3', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/home/user/build/qarm/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-ld',
ldflags =' -lgcc_s -lm'
    libpth=/home/user/build/qarm/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabi/4.7.3/include-fixed
/home/user/build/qarm/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/home/user/build/qarm/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a,
so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-shared'


---
@INC for perl 5.19.5:
    /usr/lib/perl5/site_perl/5.19.5/buildroot-linux-uclibcgnueabi
    /usr/lib/perl5/site_perl/5.19.5
    /usr/lib/perl5/5.19.5/buildroot-linux-uclibcgnueabi
    /usr/lib/perl5/5.19.5
    .

---
Environment for perl 5.19.5:
    HOME=/root
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/bin
    PERL_BADLANG (unset)
    SHELL=/bin/sh


Thread Previous


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