From ad6a90ea1e0c1bd3959944f46672d754546dfb33 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 1 Apr 2009 01:12:12 -0700 Subject: GNUmakefile: prefix errors with $(extra) variable Otherwise it's hard to tell which version of Rails test failed when we ran tests in parallel. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 73e1a0c..c5d7f02 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -68,7 +68,7 @@ $(slow_tests): TEST_OPTS = -v run_test = @echo '*** $(arg)$(extra) ***'; \ setsid $(ruby) $(arg) $(TEST_OPTS) >$(t) 2>&1 || \ - (cat >&2 < $(t); exit 1) + (sed "s,^,$(extra): ," >&2 < $(t); exit 1) %.n: arg = $(subst .n,,$(subst --, -n ,$@)) %.n: t = $(subst .n,$(log_suffix),$@) -- cgit v1.2.3-24-ge0c7