- Timestamp:
- 07/23/08 16:25:23 (4 months ago)
- Location:
- perl5/Pugs-Compiler-Perl6
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
perl5/Pugs-Compiler-Perl6/ChangeLog
r21433 r21455 1 0.024 2008-07-23 2 3 - many more tests added; the bigger tests are now split into smaller files 4 1 5 0.023 2008-07-21 2 6 -
perl5/Pugs-Compiler-Perl6/MANIFEST
r21452 r21455 123 123 t/regex/from_perl6_rules/anchors.t 124 124 t/regex/from_perl6_rules/inline.t 125 t/regex/from_perl6_rules/named_chars- 1.t126 t/regex/from_perl6_rules/named_chars- 2.t125 t/regex/from_perl6_rules/named_chars-00.t 126 t/regex/from_perl6_rules/named_chars-01.t 127 127 t/regex/from_perl6_rules/noncap.t 128 t/regex/from_perl6_rules/propcharset-00.t 129 t/regex/from_perl6_rules/propcharset-01.t 130 t/regex/from_perl6_rules/propcharset-02.t 131 t/regex/from_perl6_rules/propcharset-03.t 132 t/regex/from_perl6_rules/propcharset-04.t 133 t/regex/from_perl6_rules/propcharset-05.t 134 t/regex/from_perl6_rules/propcharset-06.t 135 t/regex/from_perl6_rules/propcharset-07.t 136 t/regex/from_perl6_rules/propcharset-08.t 137 t/regex/from_perl6_rules/propcharset-09.t 138 t/regex/from_perl6_rules/propcharset-10.t 139 t/regex/from_perl6_rules/propcharset-11.t 140 t/regex/from_perl6_rules/propcharset-12.t 128 141 t/regex/rx_perl5_escape.t 129 142 t/regex/smartparse.t -
perl5/Pugs-Compiler-Perl6/Makefile.PL
r21452 r21455 20 20 all_from('lib/v6.pm'); 21 21 22 requires('Pugs::Compiler::Rule' => '0.3 2');22 requires('Pugs::Compiler::Rule' => '0.33'); 23 23 requires('Module::Compile' => '0.20'); 24 24 requires('Scalar::Util' => '0'); … … 40 40 # split big tests in smaller files 41 41 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; 43 43 my ($part, $text) = $text =~ /^(.{20000,}?\n)(.*)/s; 44 44 $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; 46 46 $rewrite_test->($out, $text); 47 47 return; 48 48 } 49 49 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; 54 55 $text .= "}\n"; 55 56 } 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' ) { 57 58 $text = 58 "plan 219 \n"59 "plan 219;\n" 59 60 . "{\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 : "" ) 60 85 . $text; 61 86 } -
perl5/Pugs-Compiler-Perl6/lib/v6.pm
r21433 r21455 1 1 package v6; 2 $v6::VERSION = '0.02 3';2 $v6::VERSION = '0.024'; 3 3 4 4 # Documentation in the __END__
