summaryrefslogtreecommitdiffstats
path: root/tests/run-make/dep-graph/Makefile
blob: d06333f4454b08b5c60647220dfd0eba3dfe9de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include ../tools.mk

# ignore-cross-compile

# Just verify that we successfully run and produce dep graphs when requested.

all:
	RUST_DEP_GRAPH=$(TMPDIR)/dep-graph $(RUSTC) \
        -Cincremental=$(TMPDIR)/incr \
        -Zquery-dep-graph -Zdump-dep-graph foo.rs
	test -f $(TMPDIR)/dep-graph.txt
	test -f $(TMPDIR)/dep-graph.dot