Changeset 21455 for perl5

Show
Ignore:
Timestamp:
07/23/08 16:25:23 (4 months ago)
Author:
fglock
Message:

[v6.pm] version 0.024 # 3176 tests pass

Location:
perl5/Pugs-Compiler-Perl6
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • perl5/Pugs-Compiler-Perl6/ChangeLog

    r21433 r21455  
     10.024  2008-07-23 
     2 
     3- many more tests added; the bigger tests are now split into smaller files 
     4 
    150.023  2008-07-21 
    26 
  • perl5/Pugs-Compiler-Perl6/MANIFEST

    r21452 r21455  
    123123t/regex/from_perl6_rules/anchors.t 
    124124t/regex/from_perl6_rules/inline.t 
    125 t/regex/from_perl6_rules/named_chars-1.t 
    126 t/regex/from_perl6_rules/named_chars-2.t 
     125t/regex/from_perl6_rules/named_chars-00.t 
     126t/regex/from_perl6_rules/named_chars-01.t 
    127127t/regex/from_perl6_rules/noncap.t 
     128t/regex/from_perl6_rules/propcharset-00.t 
     129t/regex/from_perl6_rules/propcharset-01.t 
     130t/regex/from_perl6_rules/propcharset-02.t 
     131t/regex/from_perl6_rules/propcharset-03.t 
     132t/regex/from_perl6_rules/propcharset-04.t 
     133t/regex/from_perl6_rules/propcharset-05.t 
     134t/regex/from_perl6_rules/propcharset-06.t 
     135t/regex/from_perl6_rules/propcharset-07.t 
     136t/regex/from_perl6_rules/propcharset-08.t 
     137t/regex/from_perl6_rules/propcharset-09.t 
     138t/regex/from_perl6_rules/propcharset-10.t 
     139t/regex/from_perl6_rules/propcharset-11.t 
     140t/regex/from_perl6_rules/propcharset-12.t 
    128141t/regex/rx_perl5_escape.t 
    129142t/regex/smartparse.t 
  • perl5/Pugs-Compiler-Perl6/Makefile.PL

    r21452 r21455  
    2020all_from('lib/v6.pm'); 
    2121 
    22 requires('Pugs::Compiler::Rule' => '0.32'); 
     22requires('Pugs::Compiler::Rule' => '0.33'); 
    2323requires('Module::Compile'      => '0.20'); 
    2424requires('Scalar::Util'         => '0'); 
     
    4040    # split big tests in smaller files 
    4141    if ( $out =~ /\.t$/ && length($text) > 30000 ) { 
    42         $out =~ s/-?(\d*)\.t$/ "-" . (($1||0)+1) . ".t" /e; 
     42        $out =~ s/-?(\d*)\.t$/ "-" . sprintf("%02d", (($1||0)+0)) . ".t" /e; 
    4343        my ($part, $text) = $text =~ /^(.{20000,}?\n)(.*)/s; 
    4444        $rewrite_test->($out, $part); 
    45         $out =~ s/-?(\d*)\.t$/ "-" . (($1||0)+1) . ".t" /e; 
     45        $out =~ s/-?(\d*)\.t$/ "-" . sprintf("%02d", (($1||0)+1)) . ".t" /e; 
    4646        $rewrite_test->($out, $text); 
    4747        return; 
    4848    } 
    4949 
    50     # fix problems caused by splitting 
    51     if ( $out eq 't/regex/from_perl6_rules/named_chars-1.t' ) { 
    52         $text =~ s/^plan \d+;/plan 200;/m; 
    53         $text =~ s/^force_todo.*?\n//m; 
     50    # fix problems caused by splitting; update the "todo" lists 
     51     
     52    if ( $out eq 't/regex/from_perl6_rules/named_chars-00.t' ) { 
     53        $text =~ s/^\s*plan \d+;/plan 200;/m; 
     54        $text =~ s/^\s*force_todo.*?\n//m; 
    5455        $text .= "}\n"; 
    5556    } 
    56     if ( $out eq 't/regex/from_perl6_rules/named_chars-2.t' ) { 
     57    if ( $out eq 't/regex/from_perl6_rules/named_chars-01.t' ) { 
    5758        $text =  
    58               "plan 219\n" 
     59              "plan 219;\n" 
    5960            . "{\n" 
     61            . $text; 
     62    } 
     63    if ( $out =~ m{t/regex/from_perl6_rules/propcharset-(\d+).t} ) { 
     64        if ( $1 eq '00' ) { 
     65            $text =~ s/^\s*plan \d+;//m; 
     66            $text =~ s/^\s*force_todo.*?\n//m; 
     67            $text .= "}\n"; 
     68        } 
     69        $text = "{\n" . $text   if $1 eq '12'; 
     70        $text =  
     71              ( $1 eq '00' ? "plan 177;\nforce_todo(111);\n"  
     72              : $1 eq '01' ? "plan 190;\n"  
     73              : $1 eq '02' ? "plan 185;\n"  
     74              : $1 eq '03' ? "plan 205;\nforce_todo(120, 122);\n"  
     75              : $1 eq '04' ? "plan 207;\nforce_todo(137, 139, 167);\n"  
     76              : $1 eq '05' ? "plan 206;\n"  
     77              : $1 eq '06' ? "plan 182;\nforce_todo(171, 173);\n"  
     78              : $1 eq '07' ? "plan 172;\nforce_todo(49, 94, 96, 109, 154);\n"  
     79              : $1 eq '08' ? "plan 173;\n"  
     80              : $1 eq '09' ? "plan 173;\n"  
     81              : $1 eq '10' ? "plan 173;\n"  
     82              : $1 eq '11' ? "plan 173;\n"  
     83              : $1 eq '12' ? "plan 133;\n"  
     84              : "" ) 
    6085            . $text; 
    6186    } 
  • perl5/Pugs-Compiler-Perl6/lib/v6.pm

    r21433 r21455  
    11package v6; 
    2 $v6::VERSION = '0.023'; 
     2$v6::VERSION = '0.024'; 
    33 
    44# Documentation in the __END__