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
This commit is contained in:
Thomas Jespersen 2015-04-14 23:43:09 +02:00
parent 35b49fe206
commit 5e1505f823

View File

@ -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