summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2017-01-22 12:44:21 +0800
committerJohn Hodge <tpg@mutabah.net>2017-01-22 12:44:21 +0800
commit3ca55a9985ea9e5dcc98aa159c4dbed18991fd74 (patch)
tree8190e98a16e737f72140e011f1c0a9e8fe0ec84c
parentb6618ea642396810578579e24d500f2c2ef5de61 (diff)
downloadmrust-3ca55a9985ea9e5dcc98aa159c4dbed18991fd74.tar.gz
Makefile - (minor) header print for hello world test
-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