From 5e1505f82396d696fd11b28c2aae5b01c14ed3f9 Mon Sep 17 00:00:00 2001 From: Thomas Jespersen Date: Tue, 14 Apr 2015 23:43:09 +0200 Subject: [PATCH] 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 --- src/test/run-make/trace-macros-flag/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-make/trace-macros-flag/Makefile b/src/test/run-make/trace-macros-flag/Makefile index fc49c8c900c8..4dfa238413dd 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