summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-09-27 15:22:37 -0400
committerBen Gamari <ben@smart-cactus.org>2017-09-27 17:37:29 -0400
commit1e9f90af7311c33de0f7f5b7dba594725596d675 (patch)
tree705865c81d93f3084934825917eadb4e42296fac /Makefile
parent4364f1e7543b6803cfaef321105d253e0bdf08a4 (diff)
downloadhaskell-1e9f90af7311c33de0f7f5b7dba594725596d675.tar.gz
Move check-ppr and check-api-annotations to testsuite/utils
These are needed by the testsuite and consequently must be shipped in the testsuite tarball to ensure that we can test binary distributions. See #13897. Test Plan: Validate Reviewers: austin Subscribers: snowleopard, rwbarton, thomie GHC Trac Issues: #13897 Differential Revision: https://phabricator.haskell.org/D4039
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8046e36e14..cffd4ec914 100644
--- a/Makefile
+++ b/Makefile
@@ -215,13 +215,17 @@ endif
# out-of-date, it is useful if Phabricator, via a normal `./validate` and `make
# test`, runs each test at least once.
.PHONY: fasttest
-fasttest:
+fasttest: testsuite_utils
$(MAKE) -C testsuite/tests CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txt fast
.PHONY: test
-test:
+test: testsuite_utils
$(MAKE) -C testsuite/tests CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txt
.PHONY: slowtest fulltest
-slowtest fulltest:
+slowtest fulltest: testsuite_utils
$(MAKE) -C testsuite/tests CLEANUP=1 SUMMARY_FILE=../../testsuite_summary.txt slow
+
+.PHONY: testsuite_utils
+testsuite_utils:
+ $(MAKE) -f ghc.mk testsuite_utils