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 # pipefail is THE reason to use bash (v3+) or never revisions of ksh93
41 # SHELL := /bin/bash -e -o pipefail
42 SHELL := /bin/ksh93 -e -o pipefail
44 full-test: test-18 test-191 test-192 test-rbx test-186
46 # FIXME: keep eye on Rubinius activity and wait for fixes from upstream
47 # so we don't need RBX_SKIP anymore
48 test-rbx: export RBX_SKIP := 1
49 test-rbx: export RUBY := $(RUBY)
51 $(MAKE) test test-integration rbx=T 2>&1 |sed -e 's!^!rbx !'
53 $(MAKE) test-all r186=1 2>&1 |sed 's!^!1.8.6 !'
55 $(MAKE) test-all 2>&1 |sed 's!^!1.8 !'
57 $(MAKE) test-all r19=1 2>&1 |sed 's!^!1.9.1 !'
59 $(MAKE) test-all r192=1 2>&1 |sed 's!^!1.9.2 !'