summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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