summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/error-writing-dependencies/Makefile
blob: cbc96901a388aed9f7ce95291d796305831376a9 (plain)
1
2
3
4
5
6
7
8
-include ../tools.mk

all:
	# Let's get a nice error message
	$(BARE_RUSTC) foo.rs --emit dep-info --out-dir foo/bar/baz 2>&1 | \
		$(CGREP) "error writing dependencies"
	# Make sure the filename shows up
	$(BARE_RUSTC) foo.rs --emit dep-info --out-dir foo/bar/baz 2>&1 | $(CGREP) "baz"