diff options
| author | bors <bors@rust-lang.org> | 2015-10-04 19:50:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-10-04 19:50:50 +0000 |
| commit | 7f4665c3e683b343fb3a44fd3849b6b140e708d5 (patch) | |
| tree | fa9da30de454915541d72f72dc91c08e9d0912ed | |
| parent | 5ff4442a3f46f7a3ca0dc291727c546c3b6dde8d (diff) | |
| parent | e3df5192258fba79f58a86d1fdcda5f38a816028 (diff) | |
Auto merge of #28806 - wthrowe:bare-outfile-fix, r=alexcrichton
The reason this was not failing is fascinating. The variable $(rustc) is empty, so the make recipe was expanded as " -o foo foo.rs". make interpreted this as an instruction to run the command "o foo foo.rs" and ignore any failure that occurred, because it uses a leading '-' on a command to signal that behavior.
| -rw-r--r-- | src/test/run-make/bare-outfile/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/run-make/bare-outfile/Makefile b/src/test/run-make/bare-outfile/Makefile index 97d09c837c1..baa4c1c0237 100644 --- a/src/test/run-make/bare-outfile/Makefile +++ b/src/test/run-make/bare-outfile/Makefile @@ -1,4 +1,6 @@ -include ../tools.mk all: - $(rustc) -o foo foo.rs + cp foo.rs $(TMPDIR) + cd $(TMPDIR) && $(RUSTC) -o foo foo.rs + $(call RUN,foo) |
