diff options
| author | Graydon Hoare <[email protected]> | 2011-01-04 17:57:51 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-01-04 17:57:51 -0800 |
| commit | 4fca7d61dd83dbef35f386a96929a6139a0531a8 (patch) | |
| tree | f73c4018fa846c1fd45f2fc6ea1500b9ae3e084c | |
| parent | Fix another s/BREQ/SREQ/ in the makefile. (diff) | |
| download | rust-4fca7d61dd83dbef35f386a96929a6139a0531a8.tar.xz rust-4fca7d61dd83dbef35f386a96929a6139a0531a8.zip | |
Fix Yet Another Horrid Makefile Bug that was causing the run-fail tests to silently pass.
| -rw-r--r-- | src/Makefile | 2 |
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) |