Ticket #406: pcre.library.patch

File pcre.library.patch, 466 bytes (added by jkeenan, 5 years ago)

Check Parrot configuration data before running test of PCRE

  • t/examples/library.t

     
    5757 
    5858SKIP: 
    5959{ 
    60     skip( 'no pcre-config', 1 ); # Original check for PCRE flawed (TT #406) 
     60    skip 'no pcre-config', 1 unless $PConfig{HAS_PCRE}; 
    6161 
    6262    my $pcre_fn  = File::Spec->catfile(qw( examples library pcre.pir )); 
    6363    my $test_out = `$PARROT $pcre_fn asdf as`;