From 4fca7d61dd83dbef35f386a96929a6139a0531a8 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 4 Jan 2011 17:57:51 -0800 Subject: [PATCH] Fix Yet Another Horrid Makefile Bug that was causing the run-fail tests to silently pass. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index d3d01bc2e16..bd13abdb1a8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -641,7 +641,7 @@ test/run-fail/%.out.tmp: test/run-fail/%$(CFG_EXE_SUFFIX) \ if [ $$X -eq 0 ] ; then exit 1 ; else exit 0 ; fi $(CFG_QUIET)grep --text --quiet \ "`awk -F: '/error-pattern/ { print $$2 }' \ - $(subst .out.tmp,.rs,$@) \ + test/run-fail/$(basename $*).rs \ | tr -d '\n\r'`" $@ test/compile-fail/%.boot.out.tmp: test/compile-fail/%.rs $(BREQ)