summaryrefslogtreecommitdiff
path: root/testsuite/mk/test.mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-06-16 19:45:57 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-06-18 12:51:59 +0200
commitd94c40561dde695e658169a3098642294f55c7e3 (patch)
tree94af58265a3f47bc6c949568661abe6f187b1aee /testsuite/mk/test.mk
parent6f6f515401a29d26eaa5daae308b8e700abd4c04 (diff)
downloadhaskell-d94c40561dde695e658169a3098642294f55c7e3.tar.gz
Testsuite: validate the tests/stage1 directory with the stage1 compiler
* See `Note [Why is there no stage1 setup function?]`. * Move T2632 to the tests/stage1 directory (#10382). Reviewed by: ezyang, nomeata, bgamari Differential Revision: https://phabricator.haskell.org/D2341 GHC Trac Issues: #12197
Diffstat (limited to 'testsuite/mk/test.mk')
-rw-r--r--testsuite/mk/test.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk
index b5ea5a3ddd..92dc51ffb6 100644
--- a/testsuite/mk/test.mk
+++ b/testsuite/mk/test.mk
@@ -240,6 +240,8 @@ RUNTEST_OPTS += \
--config 'gs=$(call quote_path,$(GS))' \
--config 'timeout_prog=$(call quote_path,$(TIMEOUT_PROGRAM))'
+RUNTEST_OPTS += -e "config.stage=$(GhcStage)"
+
ifneq "$(SUMMARY_FILE)" ""
RUNTEST_OPTS += \
--summary-file "$(SUMMARY_FILE)"
@@ -304,11 +306,11 @@ verbose: test
accept:
$(MAKE) accept=YES
-fast:
+fast fasttest:
# See Note [validate and testsuite speed] in toplevel Makefile.
$(MAKE) SPEED=2
-slow:
+slow slowtest:
$(MAKE) SPEED=0
list_broken: