about summary refs log tree commit homepage
path: root/local.mk.sample
diff options
context:
space:
mode:
Diffstat (limited to 'local.mk.sample')
-rw-r--r--local.mk.sample14
1 files changed, 12 insertions, 2 deletions
diff --git a/local.mk.sample b/local.mk.sample
index 8dc68d3..c950d87 100644
--- a/local.mk.sample
+++ b/local.mk.sample
@@ -9,10 +9,18 @@ DLEXT := so
 # Avoid loading rubygems to speed up tests because gmake is
 # fork+exec heavy with Ruby.
 prefix = $(HOME)
+
+# XXX clean this up
 ifeq ($(r192),)
   ifeq ($(r19),)
     ifeq ($(rbx),)
-      RUBY := $(prefix)/bin/ruby
+      ifeq ($(r186),)
+        RUBY := $(prefix)/bin/ruby
+      else
+        prefix := $(prefix)/r186-p114
+        export PATH := $(prefix)/bin:$(PATH)
+        RUBY := $(prefix)/bin/ruby
+      endif
     else
       prefix := $(prefix)/rbx
       export PATH := $(prefix)/bin:$(PATH)
@@ -42,7 +50,7 @@ endif
 # SHELL := /bin/bash -e -o pipefail
 SHELL := /bin/ksh93 -e -o pipefail
 
-full-test: test-18 test-191 test-192 test-rbx
+full-test: test-18 test-191 test-192 test-rbx test-186
 
 # FIXME: keep eye on Rubinius activity and wait for fixes from upstream
 # so we don't need RBX_SKIP anymore
@@ -50,6 +58,8 @@ test-rbx: export RBX_SKIP := 1
 test-rbx: export RUBY := $(RUBY)
 test-rbx:
         $(MAKE) test test-integration rbx=T 2>&1 |sed -e 's!^!rbx !'
+test-186:
+        $(MAKE) test-all r186=1 2>&1 |sed 's!^!1.8.6 !'
 test-18:
         $(MAKE) test-all 2>&1 |sed 's!^!1.8 !'
 test-191: