diff options
author | Ian Lynagh <igloo@earth.li> | 2010-09-30 22:47:41 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-09-30 22:47:41 +0000 |
commit | adf986b4bd4a3b838b0a8809a7b28d7785dfda2f (patch) | |
tree | 62efc58fcfc89d8d1065cfaecd14454af2604d4e /Makefile | |
parent | cfb69428a10e245bc5b64417803b637693977b24 (diff) | |
download | haskell-adf986b4bd4a3b838b0a8809a7b28d7785dfda2f.tar.gz |
make test and fulltest targets in the main Makefile; fixes #4297
You can now run "make test" in the root, and the fast testsuite will be
run with cleaning enabled. It will also put the summary in
testsuite_summary.txt.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -45,7 +45,7 @@ endif include mk/custom-settings.mk # No need to update makefiles for these targets: -REALGOALS=$(filter-out binary-dist binary-dist-prep bootstrapping-files framework-pkg clean clean_% distclean maintainer-clean show help install-docs,$(MAKECMDGOALS)) +REALGOALS=$(filter-out binary-dist binary-dist-prep bootstrapping-files framework-pkg clean clean_% distclean maintainer-clean show help install-docs test fulltest,$(MAKECMDGOALS)) # configure touches certain files even if they haven't changed. This # can mean a lot of unnecessary recompilation after a re-configure, so @@ -119,3 +119,12 @@ install-docs: .NOTPARALLEL: endif + +.PHONY: test +test: + $(MAKE) -C testsuite/tests/ghc-regress CLEANUP=1 OUTPUT_SUMMARY=../../../testsuite_summary.txt fast + +.PHONY: fulltest +fulltest: + $(MAKE) -C testsuite/tests/ghc-regress CLEANUP=1 OUTPUT_SUMMARY=../../../testsuite_summary.txt + |