aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-02 13:35:29 -0700
committerGraydon Hoare <[email protected]>2010-07-02 13:35:29 -0700
commit1578715d121cfb0adf783e1368ed22d837fb2a56 (patch)
tree2a546ded85257e39c72ad5ce45da5fa3748cb86a /src
parentNew test of explicit deref operator. (diff)
downloadrust-1578715d121cfb0adf783e1368ed22d837fb2a56.tar.xz
rust-1578715d121cfb0adf783e1368ed22d837fb2a56.zip
Compensate for .tmp in run-fail tests.
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 56d41790..bf11e98d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -585,7 +585,7 @@ test/run-fail/%.out.tmp: test/run-fail/%$(CFG_EXE_SUFFIX) $(CFG_RUNTIME)
if [ $$X -eq 0 ] ; then exit 1 ; else exit 0 ; fi
$(CFG_QUIET)grep --text --quiet \
"`awk -F: '/error-pattern/ { print $$2 }' \
- $(basename $(basename $@)).rs | tr -d '\n\r'`" $@
+ $(basename $(basename $(basename $@))).rs | tr -d '\n\r'`" $@
test/compile-fail/%.x86.out.tmp: test/compile-fail/%.rs $(REQ)
@$(call CFG_ECHO, compile [x86]: $<)