about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThomas Jespersen <laumann.thomas@gmail.com>2015-04-14 23:43:09 +0200
committerThomas Jespersen <laumann.thomas@gmail.com>2015-04-14 23:43:09 +0200
commit5e1505f82396d696fd11b28c2aae5b01c14ed3f9 (patch)
treed0aa82e62ac1d62506d1da16226e39209bd7a140
parent35b49fe20604ee840246123acd44cf2f9a04ab08 (diff)
downloadrust-5e1505f82396d696fd11b28c2aae5b01c14ed3f9.tar.gz
rust-5e1505f82396d696fd11b28c2aae5b01c14ed3f9.zip
Remove -o flag from build command
It generates a warning that --outdir argument is ignored, which is
captured and spoils the output

Also ensure that test output is captured in a different file than the
expected output file
-rw-r--r--src/test/run-make/trace-macros-flag/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/trace-macros-flag/Makefile b/src/test/run-make/trace-macros-flag/Makefile
index fc49c8c900c..4dfa238413d 100644
--- a/src/test/run-make/trace-macros-flag/Makefile
+++ b/src/test/run-make/trace-macros-flag/Makefile
@@ -5,5 +5,5 @@
 -include ../tools.mk
 
 all:
-	$(RUSTC) -o $(TMPDIR)/hello -Z trace-macros hello.rs &> $(TMPDIR)/hello.trace
+	$(RUSTC) -Z trace-macros hello.rs &> $(TMPDIR)/hello.trace
 	diff -u $(TMPDIR)/hello.trace hello.trace