X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=Makefile;h=93ee7bc7d18af4a9bdb1f4e968135cbb67eaf46d;hp=063a9f46c8cb5a7baa1a798e7b4a8a2d7cd4e790;hb=b10d7d079ec9c3fc22d4700fe484dd297bddb805;hpb=da3eb3c34ad3b08c2d784bf045f38c4507466f62 diff --git a/Makefile b/Makefile index 063a9f4..93ee7bc 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # ----------------------------------------------------------------------------- - + ifeq "$(wildcard distrib/)" "" # We're in a bindist @@ -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 +