Changeset 99

Show
Ignore:
Timestamp:
02/19/05 17:21:17 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
1041
Message:

* add Test::Harness to make tests pass. thanks to clkao's persistence.

Files:
7 added
1 modified

Legend:

Unmodified
Added
Removed
  • Makefile.PL

    r90 r99  
    8585open MAKEFILE, '< Makefile' or die $!; 
    8686my $makefile = do { local $/; <MAKEFILE> }; 
    87 $makefile =~ s/\b(test_harness\(\$\(TEST_VERBOSE\), )/use English; *EXECUTABLE_NAME->{SCALAR} = \\'$full_pugs'; ENV->{HARNESS_PERL} = qq*\Q$full_pugs\E*; ENV->{PERL6LIB} = qq*\Q$full_t\E*; $1/; 
     87$full_pugs =~ s{\\}{\\\\}g; $full_pugs =~ s{'}{\\'}g; 
     88$full_t =~ s{\\}{\\\\}g; $full_t =~ s{'}{\\'}g; 
     89$makefile =~ s/\b(test_harness\(\$\(TEST_VERBOSE\), )/ENV->{HARNESS_PERL} = q*$full_pugs*; ENV->{PERL6LIB} = q*$full_t*; $1/; 
     90$makefile =~ s/("-MExtUtils::Command::MM")/"-Iinc" $1/g; 
    8891close MAKEFILE; 
    8992open MAKEFILE, '> Makefile' or die $!;