Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.91k stars 542 forks source link

fix dist/ExtUtils-ParseXS/t/002-more.t #13383

Closed p5pRT closed 10 years ago

p5pRT commented 10 years ago

Migrated from rt.perl.org#120408 (status was 'resolved')

Searchable as RT120408$

p5pRT commented 10 years ago

From @fperrad

Created by @fperrad

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 ); --

Perl Info ``` 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 ```
p5pRT commented 10 years ago

From @cpansprout

On Tue Oct 29 05​:45​:02 2013\, fperrad wrote​:

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

Thank you. Applied as a441c53f.

--

Father Chrysostomos

p5pRT commented 10 years ago

The RT System itself - Status changed from 'new' to 'open'

p5pRT commented 10 years ago

@cpansprout - Status changed from 'open' to 'resolved'