summaryrefslogtreecommitdiff
path: root/testsuite/Makefile
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-03-02 11:10:09 -0600
committerAustin Seipp <austin@well-typed.com>2015-03-02 11:10:09 -0600
commit31d4f2e9c89e22a91f98b4a4aa0f80af6b07b60f (patch)
tree69e45ce29d994e6cd59dc19e814ad0bdb48a7def /testsuite/Makefile
parentca478acc3825852320abc45ed6bc8efa4e869ff3 (diff)
downloadhaskell-31d4f2e9c89e22a91f98b4a4aa0f80af6b07b60f.tar.gz
`make test` in root directory now runs fulltest
Summary: Currently, running `make test` in: / runs fast testsuite /testsuite doesn't work /testsuite/tests runs slow testsuite This commit: * changes `make test` in the ghc root directory to run the slow testsuite, just like it already does in `testsuite/tests` * adds some simple targets to `/testsuite`, that all delegate to `/testsuite/tests` * adds a new target `fasttest` to the toplevel Makefile, with a shorthand name `fast` (for consistency with /testsuite and /testsuite/tests) * declares some more targets PHONY for safety Wiki pages that need updating: * Building/StandardTargets * Buliding/RunningTests Reviewers: austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D685
Diffstat (limited to 'testsuite/Makefile')
-rw-r--r--testsuite/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/Makefile b/testsuite/Makefile
index 401e30a590..6ad34393fc 100644
--- a/testsuite/Makefile
+++ b/testsuite/Makefile
@@ -11,15 +11,29 @@ ifneq "$(MAKECMDGOALS)" "maintainer-clean"
include $(TOP)/mk/boilerplate.mk
+.PHONY: all boot test verbose accept fast list_broken
+
boot:
$(MAKE) -C $(TOP)/timeout all
all:
$(MAKE) -C $(TOP)/tests all
+test:
+ $(MAKE) -C $(TOP)/tests test
+
+verbose:
+ $(MAKE) -C $(TOP)/tests verbose
+
+accept:
+ $(MAKE) -C $(TOP)/tests accept
+
fast:
$(MAKE) -C $(TOP)/tests fast
+list_broken:
+ $(MAKE) -C $(TOP)/tests list_broken
+
endif
endif
endif