- Timestamp:
- 07/31/08 09:28:00 (4 months ago)
- Location:
- util
- Files:
-
- 3 modified
-
gen_prelude.pl (modified) (5 diffs)
-
run-smoke.pl (modified) (2 diffs)
-
yaml_harness.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
util/gen_prelude.pl
r20057 r21645 43 43 # executable. 44 44 print STDERR "Triggering rebuild... " if $Config{verbose}; 45 unlink "blib6/lib/Prelude.pm. yml";46 unlink "blib6/lib/Prelude.pm. yml.pm";45 unlink "blib6/lib/Prelude.pm.bin"; 46 unlink "blib6/lib/Prelude.pm.bin.pm"; 47 47 #unlink "src/Pugs/PreludePC.hs"; 48 48 #unlink "src/Pugs/Run.hi"; … … 169 169 170 170 if ($Config{verbose}) { 171 print STDERR "# $Config{pugs} -Iext/Math-Basic/lib -C Parse- YAML$TEMP_PRELUDE $output\n";171 print STDERR "# $Config{pugs} -Iext/Math-Basic/lib -C Parse-Binary $TEMP_PRELUDE $output\n"; 172 172 print STDERR "Generating precompiled Prelude"; 173 173 } … … 180 180 close OUT; 181 181 182 system("$Config{pugs} -Iext/Math-Basic/lib -C Parse- YAML$TEMP_PRELUDE $output");182 system("$Config{pugs} -Iext/Math-Basic/lib -C Parse-Binary $TEMP_PRELUDE $output"); 183 183 184 184 if ($Config{output}) { … … 206 206 $0 --precompile src/perl6/Prelude.pm --pugs ./pugs.exe [options] 207 207 208 Creates a Prelude.hs fallback or a Prelude.pm. ymlfile (written to stdout),208 Creates a Prelude.hs fallback or a Prelude.pm.bin file (written to stdout), 209 209 to be loaded by Run.hs. 210 210 … … 212 212 version of the Prelude code is inlined into the executable, to be 213 213 "eval"ed when pugs starts. After the executable is ready, the Standard 214 Prelude is precompiled and stored in YAMLformat in a (conjecturally)214 Prelude is precompiled and stored in Binary format in a (conjecturally) 215 215 well-defined location for latter runs of pugs to pick up and load quickly. 216 216 -
util/run-smoke.pl
r17103 r21645 31 31 32 32 my $failed = 0; 33 for (qw/YAML Test::TAP::Model Test::TAP::HTMLMatrix Best /) {33 for (qw/YAML Test::TAP::Model Test::TAP::HTMLMatrix Best Time::Out/) { 34 34 check_prereq($_) or $failed++; 35 35 } … … 43 43 44 44 cpan Task::Smoke 45 cpan Time::Out 45 46 EOF 46 47 -
util/yaml_harness.pl
r19619 r21645 280 280 warn "$kid$test\n"; 281 281 my $t = timeit( 1, sub { 282 $self->SUPER::run_test($test, @rest); 282 use Time::HiRes; 283 use Time::Out 'timeout'; 284 timeout 300 => sub { $self->SUPER::run_test($test, @rest) }; 283 285 } ); 284 286 warn " ".timestr($t)."\n";
