Commit 42575701 authored by Victor Nawothnig's avatar Victor Nawothnig Committed by Ben Gamari

Improve diagnostic when using `make fast` in top directory

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5113
parent e400b9ba
......@@ -103,6 +103,7 @@ REALGOALS=$(filter-out \
fulltest \
slowtest \
fasttest \
fast \
,$(MAKECMDGOALS))
# configure touches certain files even if they haven't changed. This
......@@ -225,3 +226,8 @@ test:
.PHONY: slowtest fulltest
slowtest fulltest:
$(MAKE) -C testsuite/tests CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txt slow
.PHONY: fast
fast:
@echo "You can use 'make fast' only from inside a sub-component directory."
@exit 1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment