mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
433da1fc04
They pass fine.
14 lines
487 B
Makefile
14 lines
487 B
Makefile
include ../tools.mk
|
|
|
|
# Test that hir-tree output doesn't crash and includes
|
|
# the string constant we would expect to see.
|
|
|
|
all:
|
|
$(RUSTDOC) --test input.rs > $(TMPDIR)/output || true
|
|
$(CGREP) 'input.rs - foo (line 5)' < $(TMPDIR)/output
|
|
$(CGREP) 'input.rs:7:15' < $(TMPDIR)/output
|
|
$(CGREP) 'input.rs - bar (line 15)' < $(TMPDIR)/output
|
|
$(CGREP) 'input.rs:17:15' < $(TMPDIR)/output
|
|
$(CGREP) 'input.rs - bar (line 24)' < $(TMPDIR)/output
|
|
$(CGREP) 'input.rs:26:15' < $(TMPDIR)/output
|