Fix Yet Another Horrid Makefile Bug that was causing the run-fail tests to silently pass.

This commit is contained in:
Graydon Hoare 2011-01-04 17:57:51 -08:00
parent 7276f85f32
commit 4fca7d61dd

View File

@ -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)