Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (21 sloc) 813 Bytes
#!/bin/sh
# default to sysperl
PATH=/usr/local/bin:$PATH
rm -rf rakudo.parrot
git clone repos/rakudo.git rakudo.parrot
git clone repos/nqp.git rakudo.parrot/nqp
git clone repos/parrot.git rakudo.parrot/parrot
git clone repos/roast.git rakudo.parrot/t/spec
cd rakudo.parrot
perl Configure.pl --backends=parrot --gen-parrot --parrot-make-option='-j'
make -j 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
echo "#!/usr/bin/env perl" > perl6
echo 'exec "ulimit -t 120; ulimit -v 2500000; ulimit -c 0; nice -20 ./perl6-p @ARGV"' >> perl6
chmod a+x ./perl6
perl t/spec/test_summary rakudo.parrot 2>&1 | tee ../log/rakudo.parrot_summary.out