XML-XML2JSON v0.06 Perl 5 v5.28.0 x86_64-linux
- Status
- Pass
- From
- Andreas J. König (ANDK)
- Dist
-
XML-XML2JSON v0.06
- Platform
- Perl 5 v5.28.0 x86_64-linux
- Date
- 2019-12-04 02:46:52
- ID
- 53a50c04-1640-11ea-aefb-d1bf4b51b558
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear Ken Prows,
This is a computer-generated report for XML-XML2JSON-0.06
on perl 5.28.0, created by CPAN-Reporter-1.2018.
Thank you for uploading your work to CPAN. Congratulations!
All tests were successful.
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.0/da1c/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/XML-XML2JSON.t
#
# Checking for compatible JSON modules (you need at least one):
# checking for JSON::Syck...
loaded module: JSON::Syck at /tmp/loop_over_bdir-2816155-vxWrgs/XML-XML2JSON-0.06-0/blib/lib/XML/XML2JSON.pm line 164.
# JSON from JSON::Syck: {"@version":"1.0","@encoding":"UTF-8","test":{"empty":{"inner":{"@c":"d"}},"array":{"@perl":"awesome","item":[{"@index":"0"},{"@index":"1"},{"@index":"2"}]},"@xmlns:test":"http://test.example/test","test$nstest":{"@attr1":"bar"},"censored":{},"data":{"$t":"some test text","@attr1":"test"}}}
# FAILED: Problem creating root element @version: bad name at /tmp/loop_over_bdir-2816155-vxWrgs/XML-XML2JSON-0.06-0/blib/lib/XML/XML2JSON.pm line 760.
# checking for JSON::XS...
loaded module: JSON::XS at /tmp/loop_over_bdir-2816155-vxWrgs/XML-XML2JSON-0.06-0/blib/lib/XML/XML2JSON.pm line 164.
# JSON from JSON::XS: {"test":{"array":{"item":[{"@index":"0"},{"@index":"1"},{"@index":"2"}],"@perl":"awesome"},"empty":{"inner":{"@c":"d"}},"@xmlns:test":"http://test.example/test","test$nstest":{"@attr1":"bar"},"censored":{},"data":{"@attr1":"test","$t":"some test text"}},"@encoding":"UTF-8","@version":"1.0"}
# FAILED: Problem creating root element @encoding: bad name at /tmp/loop_over_bdir-2816155-vxWrgs/XML-XML2JSON-0.06-0/blib/lib/XML/XML2JSON.pm line 760.
# checking for JSON...
loaded module: JSON at /tmp/loop_over_bdir-2816155-vxWrgs/XML-XML2JSON-0.06-0/blib/lib/XML/XML2JSON.pm line 164.
# JSON from JSON: {"test":{"empty":{"inner":{"@c":"d"}},"array":{"@perl":"awesome","item":[{"@index":"0"},{"@index":"1"},{"@index":"2"}]},"@xmlns:test":"http://test.example/test","censored":{},"test$nstest":{"@attr1":"bar"},"data":{"@attr1":"test","$t":"some test text"}},"@encoding":"UTF-8","@version":"1.0"}
# Reconstructed XML: <?xml version="1.0" encoding="UTF-8"?>
# <test xmlns:test="http://test.example/test"><array perl="awesome"><item index="0"/><item index="1"/><item index="2"/></array><empty><inner c="d"/></empty><censored/><test:nstest attr1="bar"/><data attr1="test">some test text</data></test>
# OK
# checking for JSON::DWIW...
# NOT FOUND
# compatible JSON modules found: 1
t/XML-XML2JSON.t .. ok
All tests successful.
Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.02 sys + 0.21 cusr 0.05 csys = 0.30 CPU)
Result: PASS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------------- ---- --------
Test::More 0 1.302169
XML::LibXML 1.59 2.0201
build_requires:
Module Need Have
------------------- ---- --------
ExtUtils::MakeMaker 0 7.38
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 2816160
PERL5_CPAN_IS_RUNNING = 2816160
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_MM_USE_DEFAULT = 1
PERL_USE_UNSAFE_INC = 1
SHELL = /usr/bin/zsh
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.0/da1c/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.27
CPAN::Meta 2.150010
Cwd 3.75
ExtUtils::CBuilder 0.280231
ExtUtils::Command 7.38
ExtUtils::Install 2.14
ExtUtils::MakeMaker 7.38
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.39
File::Spec 3.75
JSON 4.02
JSON::PP 2.97001
Module::Build 0.4229
Module::Signature 0.83
Parse::CPAN::Meta 2.150010
Test::Harness 3.42
Test::More 1.302169
YAML 1.29
YAML::Syck 1.31
version 0.9924
--
Summary of my perl5 (revision 5 version 28 subversion 0) configuration:
Derived from: 6cb72a3d7fbefb477b95588e2fd81e33073da8b3
Platform:
osname=linux
osvers=5.3.0-2-amd64
archname=x86_64-linux
uname='linux k93msid 5.3.0-2-amd64 #1 smp debian 5.3.9-3 (2019-11-19) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.0/da1c -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Uuseithreads -Uuselongdouble -DEBUGGING=-g'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
optimize='-O2 -g'
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='9.2.1 20191109'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.29.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.29'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_DEVEL
USE_64_BIT_ALL
USE_64_BIT_INT
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Locally applied patches:
uncommitted-changes
Built under linux
Compiled at Nov 25 2019 08:36:09
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="2816160"
PERL5_CPAN_IS_RUNNING="2816160"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.0/da1c/lib/site_perl/5.28.0/x86_64-linux
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.0/da1c/lib/site_perl/5.28.0
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.0/da1c/lib/5.28.0/x86_64-linux
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.0/da1c/lib/5.28.0
.