From f306ba4b47f60d91267186a7cc142c9cd289ea05 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Tue, 21 May 2013 17:34:35 +0100 Subject: [PATCH] Show the output of the test case that failed. (on linux.) Copied from Perforce Change: 182044 ServerID: perforce.ravenbrook.com --- mps/code/comm.gmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mps/code/comm.gmk b/mps/code/comm.gmk index 2271fa9a4c0..ba0b1c4e1d9 100644 --- a/mps/code/comm.gmk +++ b/mps/code/comm.gmk @@ -241,7 +241,7 @@ TESTCASES=abqtest amcss amcsshe amcssth amsss amssshe apss arenacv awlut \ testrun: $(TESTCASES) OUTPUT=$$(mktemp -d /tmp/mps.log.XXXXXX); \ echo "Logging test output to $$OUTPUT"; \ - $(^:%=(TESTCASE=$(PFM)/$(VARIETY)/%; \ + $(^:%=(TEST=%; TESTCASE=$(PFM)/$(VARIETY)/$$TEST; \ echo "Running $$TESTCASE" && \ $$TESTCASE > $$OUTPUT/$$TEST || (cat $$OUTPUT/$$TEST; exit 1)) &&) true