Skip to content

Commit 7625c79

Browse files
committed
Do not silence output in run-make/sanitizer-memory
1 parent 8b8bdb6 commit 7625c79

File tree

1 file changed

+4
-2
lines changed
  • src/test/run-make/sanitizer-memory

1 file changed

+4
-2
lines changed

src/test/run-make/sanitizer-memory/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
all:
44
ifeq ($(TARGET),x86_64-unknown-linux-gnu)
55
ifdef SANITIZER_SUPPORT
6-
$(RUSTC) -g -Z sanitizer=memory -Z print-link-args uninit.rs | grep -q librustc_msan
7-
$(TMPDIR)/uninit 2>&1 | grep -q use-of-uninitialized-value
6+
$(RUSTC) -g -Z sanitizer=memory -Z print-link-args uninit.rs | tee $(TMPDIR)/out
7+
grep -q librustc_msan $(TMPDIR)/out
8+
$(TMPDIR)/uninit 2>&1 | tee $(TMPDIR)/out
9+
grep -q use-of-uninitialized-value $(TMPDIR)/out
810
endif
911
endif
1012

0 commit comments

Comments
 (0)