about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-01-18 18:44:39 -0800
committerJonathan "Duke" Leto <jonathan@leto.net>2011-01-18 18:44:39 -0800
commit8d17111416abf16574189ee345c72b0cfe439f97 (patch)
treeaf1349fff8b2aa65cfc446639e589bef910e66a0
parentGet rid of uninitialized warning in the test suite (diff)
downloadjitterbug-8d17111416abf16574189ee345c72b0cfe439f97.tar.gz
Add support for testing some Parrot and Perl 6 projects
Diffstat (limited to '')
-rwxr-xr-xscripts/capsule.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh
index c91d50a..419f3b2 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -15,6 +15,12 @@ function jitterbug_build () {
         # ./Build installdeps is not available in older Module::Build's
         cpanm --installdeps .
         HARNESS_VERBOSE=1 ./Build test --verbose >> $logfile 2>&1
+    elif [ -f 'setup.pir' ]; then
+        echo "Found setup.pir"
+        HARNESS_VERBOSE=1 parrot setup.pir test >> $logfile 2>&1
+    elif [ -f 'setup.nqp' ]; then
+        echo "Found setup.nqp"
+        HARNESS_VERBOSE=1 parrot-nqp setup.nqp test >> $logfile 2>&1
     else
         echo "Hoping to find Makefile.PL"
         perl Makefile.PL