aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)