Opened 4 years ago

Last modified 4 years ago

#1041 new defect

[Syntax::Highlight::Perl6] failed tests when installing version 0.88 from CPAN

Reported by: zenogantner Owned by:
Priority: major Milestone:
Component: Perl 6 Version: trunk
Keywords: Cc:

Description

I get the following error:

CPAN: Storable loaded ok (v2.20)
Going to read '/home/mrg/.local/share/.cpan/Metadata'

Database was generated on Sun, 14 Nov 2010 03:28:51 GMT

Running install for module 'Syntax::Highlight::Perl6'
CPAN: YAML loaded ok (v0.71)
Running make for A/AZ/AZAWAWI/Syntax-Highlight-Perl6-0.88.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.022)
Checksum for /home/mrg/.local/share/.cpan/sources/authors/id/A/AZ/AZAWAWI/Syntax-Highlight-Perl6-0.88.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.52)
Syntax-Highlight-Perl6-0.88
Syntax-Highlight-Perl6-0.88/README
Syntax-Highlight-Perl6-0.88/Changes
Syntax-Highlight-Perl6-0.88/LICENSE
Syntax-Highlight-Perl6-0.88/dist.ini
Syntax-Highlight-Perl6-0.88/META.yml
Syntax-Highlight-Perl6-0.88/MANIFEST
Syntax-Highlight-Perl6-0.88/META.json
Syntax-Highlight-Perl6-0.88/t
Syntax-Highlight-Perl6-0.88/t/00-std.t
Syntax-Highlight-Perl6-0.88/Makefile.PL
Syntax-Highlight-Perl6-0.88/bin
Syntax-Highlight-Perl6-0.88/bin/hilitep6
Syntax-Highlight-Perl6-0.88/t/01-syntax.t
Syntax-Highlight-Perl6-0.88/t/00-compile.t
Syntax-Highlight-Perl6-0.88/t/02-hilitep6.t
Syntax-Highlight-Perl6-0.88/t/release-eol.t
Syntax-Highlight-Perl6-0.88/share
Syntax-Highlight-Perl6-0.88/share/p6_style.js
Syntax-Highlight-Perl6-0.88/share/p6_style.css
Syntax-Highlight-Perl6-0.88/share/p6_style.ansi
Syntax-Highlight-Perl6-0.88/t/release-pod-syntax.t
Syntax-Highlight-Perl6-0.88/share/jquery-1.4.3.min.js
Syntax-Highlight-Perl6-0.88/t/release-check-changes.t
Syntax-Highlight-Perl6-0.88/lib/Syntax/Highlight
Syntax-Highlight-Perl6-0.88/lib/Syntax/Highlight/Perl6.pm
CPAN: File::Temp loaded ok (v0.22)

CPAN.pm: Going to build A/AZ/AZAWAWI/Syntax-Highlight-Perl6-0.88.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Syntax::Highlight::Perl6
cp share/p6_style.js blib/lib/auto/share/dist/Syntax-Highlight-Perl6/p6_style.js
cp share/jquery-1.4.3.min.js blib/lib/auto/share/dist/Syntax-Highlight-Perl6/jquery-1.4.3.min.js
cp share/p6_style.css blib/lib/auto/share/dist/Syntax-Highlight-Perl6/p6_style.css
cp share/p6_style.ansi blib/lib/auto/share/dist/Syntax-Highlight-Perl6/p6_style.ansi
cp lib/Syntax/Highlight/Perl6.pm blib/lib/Syntax/Highlight/Perl6.pm
cp bin/hilitep6 blib/script/hilitep6
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/hilitep6
Manifying blib/man1/hilitep6.1p
Manifying blib/man3/Syntax::Highlight::Perl6.3pm

AZAWAWI/Syntax-Highlight-Perl6-0.88.tar.gz
make -- OK

Running make test
Skip blib/lib/auto/share/dist/Syntax-Highlight-Perl6/p6_style.js (unchanged)
Skip blib/lib/auto/share/dist/Syntax-Highlight-Perl6/jquery-1.4.3.min.js (unchanged)
Skip blib/lib/auto/share/dist/Syntax-Highlight-Perl6/p6_style.css (unchanged)
Skip blib/lib/auto/share/dist/Syntax-Highlight-Perl6/p6_style.ansi (unchanged)
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ............. ok
t/00-std.t ................. Unable to load setting CORE. Did you run make? at /usr/local/share/perl/5.10.1/CursorBase.pm line 322.
# Looks like your test exited with 2 before it could output anything.
t/00-std.t ................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/01-syntax.t .............. 1/37 Unable to load setting CORE. Did you run make? at /usr/local/share/perl/5.10.1/CursorBase.pm line 322.
# Looks like you planned 37 tests but ran 5.
# Looks like your test exited with 2 just after 5.
t/01-syntax.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 32/37 subtests
t/02-hilitep6.t ............ 1/30 Unable to load setting CORE. Did you run make? at /usr/local/share/perl/5.10.1/CursorBase.pm line 322, <STDIN> line 1.
t/02-hilitep6.t ............ 7/30
# Failed test 'no arguments returned something'
# at t/02-hilitep6.t line 45.
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 46.

# Failed test 'no arguments should contain ansi color escape sequences'
# at t/02-hilitep6.t line 46.
# undef
# doesn't match '/\033\[.+?m/i'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 50.

# Failed test 'no arguments should contain the word foo'
# at t/02-hilitep6.t line 50.
# undef
# doesn't match '/foo/i'
Unable to load setting CORE. Did you run make? at /usr/local/share/perl/5.10.1/CursorBase.pm line 322, <STDIN> line 1.
t/02-hilitep6.t ............ 10/30
# Failed test '--snippet-html=- returned something'
# at t/02-hilitep6.t line 54.
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 55.

# Failed test '--snippet-html=- contains <pre> tag'
# at t/02-hilitep6.t line 55.
# undef
# doesn't match '/<pre>/i'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 56.
Use of uninitialized value $this in pattern match (m
) at t/02-hilitep6.t line 57.

# Failed test '--snippet-html=- should contain the word foo'
# at t/02-hilitep6.t line 57.
# undef
# doesn't match '/foo/i'
Unable to load setting CORE. Did you run make? at /usr/local/share/perl/5.10.1/CursorBase.pm line 322, <STDIN> line 1.
t/02-hilitep6.t ............ 14/30
# Failed test '--simple-html=- returned something'
# at t/02-hilitep6.t line 61.
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 62.

# Failed test '--simple-html=- should have <pre> tags'
# at t/02-hilitep6.t line 62.
# undef
# doesn't match '/<pre>/i'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 63.

# Failed test '--simple-html=- should contain <html>'
# at t/02-hilitep6.t line 63.
# undef
# doesn't match '/<html>/i'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 64.
Use of uninitialized value $this in pattern match (m
) at t/02-hilitep6.t line 65.

# Failed test '--simple-html=- should contain the word foo'
# at t/02-hilitep6.t line 65.
# undef
# doesn't match '/foo/i'
Unable to load setting CORE. Did you run make? at /usr/local/share/perl/5.10.1/CursorBase.pm line 322, <STDIN> line 1.
t/02-hilitep6.t ............ 19/30
# Failed test '--full-html=- returned something'
# at t/02-hilitep6.t line 69.
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 70.

# Failed test '--full-html=- should have <pre> tags'
# at t/02-hilitep6.t line 70.
# undef
# doesn't match '/<pre>/i'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 71.

# Failed test '--full-html=- should contain <html>'
# at t/02-hilitep6.t line 71.
# undef
# doesn't match '/<html>/i'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 72.

# Failed test '--full-html=- should contain JS'
# at t/02-hilitep6.t line 72.
# undef
# doesn't match '/text\/javascript/i'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 73.

# Failed test '--full-html=- should contain the word foo'
# at t/02-hilitep6.t line 73.
# undef
# doesn't match '/foo/i'
Unable to load setting CORE. Did you run make? at /usr/local/share/perl/5.10.1/CursorBase.pm line 322, <STDIN> line 1.
t/02-hilitep6.t ............ 24/30
# Failed test '--ansi-text=- returned something'
# at t/02-hilitep6.t line 77.
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 78.

# Failed test '--ansi-text=- should contain ansi color escape sequences'
# at t/02-hilitep6.t line 78.
# undef
# doesn't match '/\033\[.+?m/i'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 82.

# Failed test '--ansi-text=- should contain the word foo'
# at t/02-hilitep6.t line 82.
# undef
# doesn't match '/foo/i'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 85.

# Failed test '--snippet-html=- & html escaping works'
# at t/02-hilitep6.t line 85.
# undef
# doesn't match '/&lt;&gt;/'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 89.

# Failed test '--snippet-html=- & html escaping works'
# at t/02-hilitep6.t line 89.
# undef
# doesn't match '/&amp;/'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 93.

# Failed test '--simple-html=- html escaping works'
# at t/02-hilitep6.t line 93.
# undef
# doesn't match '/&quot;/'
Use of uninitialized value $this in pattern match (m) at t/02-hilitep6.t line 97.

# Failed test '--full-html=- html escaping works'
# at t/02-hilitep6.t line 97.
# undef
# doesn't match '/&lt;&gt;/'
# Looks like you failed 22 tests of 30.
t/02-hilitep6.t ............ Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 22/30 subtests
t/release-check-changes.t .. skipped: these tests are for release candidate testing
t/release-eol.t ............ skipped: these tests are for release candidate testing
t/release-pod-syntax.t ..... skipped: these tests are for release candidate testing

Test Summary Report


t/00-std.t (Wstat: 512 Tests: 0 Failed: 0)

Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 0.

t/01-syntax.t (Wstat: 512 Tests: 5 Failed: 0)

Non-zero exit status: 2
Parse errors: Bad plan. You planned 37 tests but ran 5.

t/02-hilitep6.t (Wstat: 5632 Tests: 30 Failed: 22)

Failed tests: 7-11, 13-16, 18-30
Non-zero exit status: 22

Files=7, Tests=37, 11 wallclock secs ( 0.06 usr 0.01 sys + 3.63 cusr 0.22 csys = 3.92 CPU)
Result: FAIL
Failed 3/7 test programs. 22/37 subtests failed.
make: * [test_dynamic] Fehler 255

AZAWAWI/Syntax-Highlight-Perl6-0.88.tar.gz
make test -- NOT OK

hint to see the cpan-testers results for installing this module, try:

reports AZAWAWI/Syntax-Highlight-Perl6-0.88.tar.gz

Running make install

make test had returned bad status, won't install without force

Change History (2)

comment:1 Changed 4 years ago by chorny

  • Summary changed from [Syntax::Highlight::Perl] failed tests when installing version 0.88 from CPAN to [Syntax::Highlight::Perl6] failed tests when installing version 0.88 from CPAN

comment:2 Changed 4 years ago by szabgab

  • Component changed from advanced perl tools to Perl 6
Note: See TracTickets for help on using tickets.