From 7ca6682fac2a30a69834b46a678ec956db4a45e9 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 4 Jun 2010 00:21:58 +0000 Subject: local.mk.sample: update for running 1.9.2 (preview3) tests Now that 1.9.2 preview3 is available and usable, it'll be added to the list of Rubies we run and officially support. --- local.mk.sample | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'local.mk.sample') diff --git a/local.mk.sample b/local.mk.sample index 25a08e5..64089f2 100644 --- a/local.mk.sample +++ b/local.mk.sample @@ -11,12 +11,19 @@ DLEXT := so # fork+exec heavy with Ruby. prefix = $(HOME) -ifeq ($(r19),) - RUBY := $(prefix)/bin/ruby +ifeq ($(r192),) + ifeq ($(r19),) + RUBY := $(prefix)/bin/ruby + else + prefix := $(prefix)/ruby-1.9 + export PATH := $(prefix)/bin:$(PATH) + RUBY := $(prefix)/bin/ruby --disable-gems + endif else - prefix := $(prefix)/ruby-1.9 + prefix := $(prefix)/ruby-1.9.2 export PATH := $(prefix)/bin:$(PATH) RUBY := $(prefix)/bin/ruby --disable-gems + gem_paths := $(addprefix $(prefix)/lib/ruby/gems/1.9.1/gems/,$(gems)) endif ifndef NO_ISOLATE @@ -43,11 +50,13 @@ SHELL := /bin/ksh93 -e -o pipefail # TRACER = strace -f -o $(t_pfx).strace -s 100000 TRACER = /usr/bin/time -v -o $(t_pfx).time -full-test: test-18 test-19 +full-test: test-18 test-191 test-192 test-18: $(MAKE) test 2>&1 | sed -e 's!^!1.8 !' -test-19: - $(MAKE) test r19=T 2>&1 | sed -e 's!^!1.9 !' +test-191: + $(MAKE) test r19=T 2>&1 | sed -e 's!^!1.9.1 !' +test-192: + $(MAKE) test r192=T 2>&1 | sed -e 's!^!1.9.2 !' latest: NEWS @awk 'BEGIN{RS="=== ";ORS=""}NR==2{sub(/\n$$/,"");print RS""$$0 }' < $< -- cgit v1.2.3-24-ge0c7