Skip to content

Commit

Permalink
Remove -o flag from build command
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Jespersen committed Apr 14, 2015
1 parent 35b49fe commit 5e1505f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-make/trace-macros-flag/Makefile
Expand Up @@ -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

0 comments on commit 5e1505f

Please sign in to comment.