Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add a runner for rakudo.jvm
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| niecza | ||
| rakudo | ||
| rakudo.jvm | ||
| Pugs.hs | ||
| roast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| #!/bin/sh | ||
|
|
||
| # default to sysperl | ||
| PATH=/usr/local/bin:$PATH | ||
|
|
||
| rm -rf rakudo.jvm | ||
| git clone git://github.com/rakudo/rakudo.git rakudo.jvm | ||
| cd rakudo.jvm | ||
| ln -s ../../roast t/spec | ||
| git clone git://github.com/perl6/nqp.git | ||
| cd nqp | ||
| perl ConfigureJVM.pl --prefix=../install-jvm | ||
| make install | ||
| cd .. | ||
| perl ConfigureJVM.pl | ||
| make all | ||
|
|
||
| # uninstalled rakudo doesn't know how to find Test.pm | ||
| # ... or any other modules | ||
| export PERL6LIB=`pwd`/lib:. | ||
|
|
||
| # some tests require a LANG. | ||
| export LANG=en_US.UTF-8 | ||
|
|
||
| # swap out the default runner with one that is ulimited | ||
| mv perl6 p6 | ||
| echo "#!/usr/bin/env perl" > perl6 | ||
| echo 'exec "ulimit -t 300; ulimit -v 2048576; ./p6 @ARGV";' >> perl6 | ||
| chmod u+x perl6 p6 | ||
|
|
||
| perl t/spec/test_summary rakudo.jvm 2>&1 | tee ../rakudo.jvm_summary.out |