Do not silence output in run-make/sanitizer-memory

This commit is contained in:
Simon Sapin 2017-11-12 14:56:45 +01:00
parent 8b8bdb63a4
commit 7625c79f2a

View File

@ -3,8 +3,10 @@
all:
ifeq ($(TARGET),x86_64-unknown-linux-gnu)
ifdef SANITIZER_SUPPORT
$(RUSTC) -g -Z sanitizer=memory -Z print-link-args uninit.rs | grep -q librustc_msan
$(TMPDIR)/uninit 2>&1 | grep -q use-of-uninitialized-value
$(RUSTC) -g -Z sanitizer=memory -Z print-link-args uninit.rs | tee $(TMPDIR)/out
grep -q librustc_msan $(TMPDIR)/out
$(TMPDIR)/uninit 2>&1 | tee $(TMPDIR)/out
grep -q use-of-uninitialized-value $(TMPDIR)/out
endif
endif