summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a481c061..9dce5dcf 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ TARGET_CC ?= clang
TAIL_COUNT ?= 45
.SUFFIXES:
+.PRECIOUS: output/rust/run-pass/%
# - Final stage for tests run as part of the rust_tests target.
# VALID OPTIONS: parse, expand, mir, ALL
@@ -277,7 +278,10 @@ rust_tests-run-fail: $(call DEF_RUST_TESTS,run-fail)
output/rust/test_run-pass_hello: $(RUST_TESTS_DIR)run-pass/hello.rs output/libstd.hir $(BIN) output/liballoc_system.hir output/libpanic_abort.hir
@mkdir -p $(dir $@)
+ @echo "--- [MRUSTC] -o $@"
$(DBG) $(BIN) $< -o $@ $(PIPECMD)
+ @echo "--- [$@]"
+ @./$@
TEST_ARGS_run-pass/cfgs-on-items := --cfg fooA --cfg fooB