summaryrefslogtreecommitdiffstats
path: root/tests/run-make/error-writing-dependencies/Makefile
blob: a5d30a647f81744f7a1f0389a3086b77249db4ce (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"