From 51c61aee1e194bc592225af63fe38fd7e6d799fb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 10 Oct 2009 12:58:12 -0700 Subject: tests: update TRACER examples in makefile --- t/GNUmakefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 't') diff --git a/t/GNUmakefile b/t/GNUmakefile index 9c1094b..e957b66 100644 --- a/t/GNUmakefile +++ b/t/GNUmakefile @@ -21,8 +21,11 @@ T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh) all:: $(T) # can't rely on "set -o pipefail" since we don't require bash or ksh93 :< -t_code = trash/$@-$(RUBY_VERSION).code -t_log = trash/$@-$(RUBY_VERSION).log +t_pfx = trash/$@-$(RUBY_VERSION) +t_code = $(t_pfx).code +t_log = $(t_pfx).log +# TRACER = strace -f -o $(t_pfx).strace -s 100000 +# TRACER = /usr/bin/time -o $(t_pfx).time t_run = $(TRACER) $(SHELL) $(SH_TEST_OPTS) $@ # prefix stdout messages with ':', and stderr messages with '!' @@ -45,7 +48,6 @@ else pfx = $@ endif -# TRACER='strace -f -o $@.strace -s 100000' run_test = $(quiet_pre) ( $(t_wrap) ) $(quiet_post) test-bin-$(RUBY_VERSION)/rainbows: ruby_bin = $(shell which $(ruby)) -- cgit v1.2.3-24-ge0c7