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.
20 RUBY := $(prefix)/bin/ruby
22 prefix := $(prefix)/ruby-1.9.2
23 export PATH := $(prefix)/bin:$(PATH)
24 RUBY := $(prefix)/bin/ruby --disable-gems
27 # pipefail is THE reason to use bash (v3+) or never revisions of ksh93
28 # SHELL := /bin/bash -e -o pipefail
29 SHELL := /bin/ksh93 -e -o pipefail
31 # trace execution of tests
32 # TRACER = strace -f -o $(t_pfx).strace -s 100000
33 # TRACER = /usr/bin/time -v -o $(t_pfx).time
35 full-test: test-18 test-192
37 $(MAKE) test 2>&1 | sed -e 's!^!1.8 !'
39 $(MAKE) test r192=T 2>&1 | sed -e 's!^!1.9.2 !'