about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-10 12:58:12 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-10 12:58:27 -0700
commit51c61aee1e194bc592225af63fe38fd7e6d799fb (patch)
treea49b0aaba5d2b1cb41a29df6be822b7641637cdb
parentff6bdcf72c94b4424b7ebf41b8c8bc5c7f81cdcc (diff)
downloadrainbows-51c61aee1e194bc592225af63fe38fd7e6d799fb.tar.gz
-rw-r--r--t/GNUmakefile8
1 files changed, 5 insertions, 3 deletions
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))