Parser-LR v20191110 Perl 5 v5.30.1 RC1 x86_64-linux
- Status
- Fail
- From
- Andreas J. König (ANDK)
- Dist
-
Parser-LR v20191110
- Platform
- Perl 5 v5.30.1 RC1 x86_64-linux
- Date
- 2019-11-10 04:31:05
- ID
- e8aeec9c-0372-11ea-9c35-f839d6c10e5b
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 Philip R Brenan,
This is a computer-generated report for Parser-LR-20191110
on perl 5.30.1, created by CPAN-Reporter-1.2018.
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
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 './Build test':
Use of uninitialized value $title in concatenation (.) or string at /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.1-RC1/da1c/lib/site_perl/5.30.1/Data/DFA.pm line 211, <DATA> line 285.
at /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.1-RC1/da1c/lib/site_perl/5.30.1/Data/Table/Text.pm line 3576, <DATA> line 285.
Data::Table::Text::__ANON__("Use of uninitialized value \$title in concatenation (.) or str"...) called at /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.1-RC1/da1c/lib/site_perl/5.30.1/Data/DFA.pm line 211
Data::DFA::print(Data::DFA=HASH(0x56553facbcb8)) called at (eval 17) line 23
eval 'use Test::More tests=>29;
#goto latestTest;
if (1) { #TprintGrammar
my $g = compileGrammar(<<END);
A a A
A a
END
my $tree = parseWithGrammar($g, qw(a a));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 0 A
2 a 0
3 1 A
4 a 1
END
ok $g->start eq q(A);
ok $g->dfa->print eq <<END;
State Final Symbol Target Final
1 0 1 A 1 1
2 a 0 1
3 1 1
END
ok $g->nfa->print eq <<END;
Location F Transitions Jumps
0 undef [1, 5]
1 { a => 2 } undef
2 undef [3]
3 { A => 4 } [0]
4 1 undef undef
5 { a => 6 } undef
6 1 undef undef
END
ok $g->printGrammar eq <<END;
Rule Symbol Expansion
1 0 A a A
2 1 A a
END
}
if (1) { #TparseWithGrammar
my $g = compileGrammar(<<END);
A a A
A
END
my $tree = parseWithGrammar($g, qw(a a a));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 1 A
2 a 0
3 a 1
4 a 2
END
ok $g->start eq q(A);
ok $g->dfa->print eq <<END;
State Final Symbol Target Final
1 0 1 a 1 1
2 1 1 A 2 1
3 a 1 1
4 2 1
END
ok $g->nfa->print eq <<END;
Location F Transitions Jumps
0 1 undef [1]
1 { a => 2 } undef
2 undef [3]
3 { A => 4 } [0]
4 1 undef undef
END
ok $g->printGrammar eq <<END;
Rule Symbol Expansion
1 0 A a A
2 1 A
END
}
if (1) { #TprintParseTreeAsXml
my $g = compileGrammar(<<END);
A A a
A a
END
my $tree = parseWithGrammar($g, qw(a a a));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 0 A
2 0 A
3 1 A
4 a 0
5 a 1
6 a 2
END
ok printParseTreeAsXml($tree) eq <<END;
<A rule="0">
<A rule="0">
<A rule="1">
<a id="0"/>
</A>
<a id="1"/>
</A>
<a id="2"/>
</A>
END
ok $g->start eq q(A);
ok $g->dfa->print eq <<END;
State Final Symbol Target Final
1 0 A 1 0
2 a 3 1
3 1 a 2 1
4 2 1
5 3 1
END
ok $g->nfa->print eq <<END;
Location F Transitions Jumps
0 undef [1, 5]
1 { A => 2 } [0]
2 undef [3]
3 { a => 4 } undef
4 1 undef undef
5 { a => 6 } undef
6 1 undef undef
END
ok $g->printGrammar eq <<END;
Rule Symbol Expansion
1 0 A A a
2 1 A a
END
}
if (1) { #TcompileGrammar
my $g = compileGrammar(<<END);
A A a
A
END
my $t0 = parseWithGrammar($g, qw());
ok !printParseTree($t0);
ok !$t0;
my $t1 = parseWithGrammar($g, qw(a));
ok printParseTree($t1) eq <<END;
Rule Symbol Input
1 0 A
2 1 A
3 a 0
END
my $t3 = parseWithGrammar($g, qw(a a a));
ok printParseTree($t3) eq <<END;
Rule Symbol Input
1 0 A
2 0 A
3 0 A
4 1 A
5 a 0
6 a 1
7 a 2
END
ok $g->dfa->print eq <<END;
State Final Symbol Target Final
1 0 1 A 1 0
2 1 a 2 1
3 2 1
END
ok $g->nfa->print eq <<END;
Location F Transitions Jumps
0 1 undef [1]
1 { A => 2 } [0]
2 undef [3]
3 { a => 4 } undef
4 1 undef undef
END
ok $g->printGrammar eq <<END;
Rule Symbol Expansion
1 0 A A a
2 1 A
END
}
if (1) { #TprintParseTree
my $g = compileGrammar(<<END);
A a A b
A c
END
my $tree = parseWithGrammar($g, qw(a a c b b));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 0 A
2 a 0
3 0 A
4 a 1
5 1 A
6 c 2
7 b 3
8 b 4
END
ok printGrammarAsXml($g) eq <<END;
<grammar>
<A id="0">
<a/>
<A/>
<b/>
</A>
<A id="1">
<c/>
</A>
</grammar>
END
ok $g->start eq q(A);
}
latestTest:;
if (1) { #TprintGrammarAsXml
my $g = compileGrammar(<<END);
A B a
B B b
B
END
my $tree = parseWithGrammar($g, qw(b b a));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 0 A
2 1 B
3 1 B
4 2 B
5 b 0
6 b 1
7 a 2
END
ok printGrammarAsXml($g) eq <<END;
<grammar>
<A id="0">
<B/>
<a/>
</A>
<B id="1">
<B/>
<b/>
</B>
<B id="2">
</B>
</grammar>
END
ok $g->start eq q(A);
}
done_testing;
=pod
printParseTreeAndGrammarAsXml 1
=cut
' called at lib/Parser/LR.pm line 766
Parser::LR::test("Parser::LR") called at test.pl line 11
at /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.1-RC1/da1c/lib/site_perl/5.30.1/Data/Table/Text.pm line 3576, <DATA> line 285.
Data::Table::Text::__ANON__("Use of uninitialized value \$title in concatenation (.) or str"...) called at lib/Parser/LR.pm line 767
Parser::LR::test("Parser::LR") called at test.pl line 11
# Looks like your test exited with 2 just after 2.
test.pl ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 27/29 subtests
Test Summary Report
-------------------
test.pl (Wstat: 512 Tests: 2 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 29 tests but ran 2.
Files=1, Tests=2, 0 wallclock secs ( 0.01 usr 0.02 sys + 0.13 cusr 0.05 csys = 0.21 CPU)
Result: FAIL
Failed 1/1 test programs. 0/2 subtests failed.
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
----------------- -------- --------
Carp 0 1.50
Data::DFA 20180429 20191030
Data::Dump 0 1.23
Data::NFA 20181027 20191109
Data::Table::Text 20191110 20191110
Exporter 0 5.73
Test2::API 0 1.302168
Test::More 0 1.302168
configure_requires:
Module Need Have
----------------- -------- --------
Module::Build 0.4224 0.4229
------------------------------
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 = 6374
PERL5_CPAN_IS_RUNNING = 6374
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.30.1-RC1/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.78
ExtUtils::CBuilder 0.280231
ExtUtils::Command 7.38
ExtUtils::Install 2.14
ExtUtils::MakeMaker 7.38
ExtUtils::Manifest 1.72
ExtUtils::ParseXS 3.40
File::Spec 3.78
JSON 4.02
JSON::PP 4.02
Module::Build 0.4229
Module::Signature 0.83
Parse::CPAN::Meta 2.150010
Test::Harness 3.42
Test::More 1.302168
YAML 1.29
YAML::Syck 1.31
version 0.9924
--
Summary of my perl5 (revision 5 version 30 subversion 1) configuration:
Derived from: c7b0f4381d9ba7446b031fd197f0817ead76cc96
Platform:
osname=linux
osvers=4.18.0-2-amd64
archname=x86_64-linux
uname='linux k93msid 4.18.0-2-amd64 #1 smp debian 4.18.10-2 (2018-10-07) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.1-RC1/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 -D_FORTIFY_SOURCE=2'
optimize='-O2 -g'
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='8.2.0'
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/8/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.27.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.27'
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:
RC1
uncommitted-changes
Built under linux
Compiled at Oct 27 2019 19:06:17
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="6374"
PERL5_CPAN_IS_RUNNING="6374"
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.30.1-RC1/da1c/lib/site_perl/5.30.1/x86_64-linux
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.1-RC1/da1c/lib/site_perl/5.30.1
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.1-RC1/da1c/lib/5.30.1/x86_64-linux
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.1-RC1/da1c/lib/5.30.1
.