1 # this is the local.mk file used by Eric Wong on his dev boxes.
2 # GNUmakefile will source local.mk in the top-level source tree
5 # This is depends on a bunch of GNU-isms from bash, sed, touch.
9 # Avoid loading rubygems to speed up tests because gmake is
10 # fork+exec heavy with Ruby.
18 RUBY := $(prefix)/bin/ruby
20 prefix := $(prefix)/r186-p114
21 export PATH := $(prefix)/bin:$(PATH)
22 RUBY := $(prefix)/bin/ruby
25 prefix := $(prefix)/rbx
26 export PATH := $(prefix)/bin:$(PATH)
27 RUBY := $(prefix)/bin/rbx
30 prefix := $(prefix)/ruby-1.9
31 export PATH := $(prefix)/bin:$(PATH)
32 RUBY := $(prefix)/bin/ruby --disable-gems
35 prefix := $(prefix)/ruby-1.9.2
36 export PATH := $(prefix)/bin:$(PATH)
37 RUBY := $(prefix)/bin/ruby --disable-gems
40 # FIXME: use isolate more
43 gem_paths := $(addprefix $(HOME)/lib/ruby/gems/1.8/gems/,$(gems))
46 export RUBYLIB := $(subst $(sp),:,$(addsuffix /lib,$(gem_paths)))
49 # pipefail is THE reason to use bash (v3+) or never revisions of ksh93
50 # SHELL := /bin/bash -e -o pipefail
51 SHELL := /bin/ksh93 -e -o pipefail
53 full-test: test-18 test-191 test-192 test-rbx test-186
55 # FIXME: keep eye on Rubinius activity and wait for fixes from upstream
56 # so we don't need RBX_SKIP anymore
57 test-rbx: export RBX_SKIP := 1
58 test-rbx: export RUBY := $(RUBY)
60 $(MAKE) test test-integration rbx=T 2>&1 |sed -e 's!^!rbx !'
62 $(MAKE) test-all r186=1 2>&1 |sed 's!^!1.8.6 !'
64 $(MAKE) test-all 2>&1 |sed 's!^!1.8 !'
66 $(MAKE) test-all r19=1 2>&1 |sed 's!^!1.9.1 !'
68 $(MAKE) test-all r192=1 2>&1 |sed 's!^!1.9.2 !'