diff options
author | franck cuny <franck@lumberjaph.net> | 2010-09-23 22:09:36 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-09-23 22:09:36 +0200 |
commit | 585ce5b679406ffe8644b23e3a267d7af8e3a5de (patch) | |
tree | 27dff9a966b9c265e929330b48314f1c38d48428 /scripts/capsule.sh | |
parent | ignore logs (diff) | |
download | jitterbug-585ce5b679406ffe8644b23e3a267d7af8e3a5de.tar.gz |
initial import
Diffstat (limited to 'scripts/capsule.sh')
-rwxr-xr-x | scripts/capsule.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh new file mode 100755 index 0000000..946c38c --- /dev/null +++ b/scripts/capsule.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +set -e + +builddir=$1 +report_path=$2 + +mkdir -p $report_path + +cd $builddir + +source $HOME/perl5/perlbrew/etc/bashrc + +for perl in $HOME/perl5/perlbrew/perls/perl-5.12.* +do + theperl="$(basename $perl)" + perlbrew switch $theperl + hash -r + + perlversion=$(perl -v) + logfile="$report_path/$theperl.txt" + + perl Makefile.PL + make + HARNESS_VERBOSE=1 make test >> $logfile 2>&1 +done |