aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-01-04 17:57:51 -0800
committerGraydon Hoare <[email protected]>2011-01-04 17:57:51 -0800
commit4fca7d61dd83dbef35f386a96929a6139a0531a8 (patch)
treef73c4018fa846c1fd45f2fc6ea1500b9ae3e084c /src
parentFix another s/BREQ/SREQ/ in the makefile. (diff)
downloadrust-4fca7d61dd83dbef35f386a96929a6139a0531a8.tar.xz
rust-4fca7d61dd83dbef35f386a96929a6139a0531a8.zip
Fix Yet Another Horrid Makefile Bug that was causing the run-fail tests to silently pass.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index d3d01bc2..bd13abdb 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)