On Friday 25 July 2008 15:46:25 Jeff Lavallee wrote:

> Latest parrot code from svn.  During make test, t/example/library.t fails:
>
> t/examples/library...........................ok 1/4Failed to load libpcre
> current instr.: 'parrot;PCRE;init' pc 110 (library/pcre.pir:111)
> called from Sub 'parrot;PCRE;main' pc 269 (examples/library/pcre.pir:39)
>
> #   Failed test 'examples/library/pcre.pir'
> #   at t/examples/library.t line 67.
> #          got: ''
> #     expected: 'asdf =~ /as/
> # 1 match(es):
> # as
> # '
> t/examples/library...........................NOK 3/4# Looks like you failed
> 1 test of 4. t/examples/library...........................dubious
>     Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 3
>     Failed 1/4 tests, 75.00% okay

The Perl 5 test code tries to see if PCRE is installed with:

my $has_pcre = Parrot::Test::run_command( $cmd, STDERR => 
File::Spec->devnull() ) == 0;

Apparently on your system, this succeeds, but loading libpcre fails.  The test 
code in t/examples/library.t should probably catch this exception and abort 
cleanly.

-- c

Reply via email to