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 # if you have a decent amount of RAM, setting TMPDIR to be on tmpfs
10 # can significantly improve performance because uploads take a lot
11 # of disk I/O due to the rewindability requirement in Rack.
15 # Avoid loading rubygems to speed up tests because gmake is
16 # fork+exec heavy with Ruby.
21 RUBY := $(prefix)/bin/ruby
23 prefix := $(prefix)/ruby-1.9
24 export PATH := $(prefix)/bin:$(PATH)
25 RUBY := $(prefix)/bin/ruby --disable-gems
28 prefix := $(prefix)/ruby-1.9.2
29 export PATH := $(prefix)/bin:$(PATH)
30 RUBY := $(prefix)/bin/ruby --disable-gems
33 # pipefail is THE reason to use bash (v3+) or never revisions of ksh93
34 # SHELL := /bin/bash -e -o pipefail
35 SHELL := /bin/ksh93 -e -o pipefail
37 # trace execution of tests
38 # TRACER = strace -f -o $(t_pfx).strace -s 100000
39 TRACER = /usr/bin/time -v -o $(t_pfx).time
41 full-test: test-18 test-191 test-192
43 $(MAKE) test 2>&1 | sed -e 's!^!1.8 !'
45 $(MAKE) test r19=T 2>&1 | sed -e 's!^!1.9.1 !'
47 $(MAKE) test r192=T 2>&1 | sed -e 's!^!1.9.2 !'