summaryrefslogtreecommitdiff
path: root/testsuite/mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-11 13:27:58 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-11 13:27:58 +0000
commit3d94d01a9e6618e4ad82b1ad6386b0620538683d (patch)
treef7fc6f0e3d949f84722ab0e434009549854c24d1 /testsuite/mk
parent98e12ea984ee556b52d440563889625c13a88815 (diff)
downloadhaskell-3d94d01a9e6618e4ad82b1ad6386b0620538683d.tar.gz
Add 'make list_brokens'
Gives a list of tickets that the testsuite thinks are broken, and what bug it thinks is the reason. This can then be pasted into trac and 'previewed', which will show any closed tickets with strikeout.
Diffstat (limited to 'testsuite/mk')
-rw-r--r--testsuite/mk/test.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk
index 6c974cc1d8..e7604bdd7d 100644
--- a/testsuite/mk/test.mk
+++ b/testsuite/mk/test.mk
@@ -175,6 +175,12 @@ endif
RUNTEST_OPTS += \
$(EXTRA_RUNTEST_OPTS)
+ifeq "$(list_broken)" "YES"
+set_list_broken = -e config.list_broken=True
+else
+set_list_broken =
+endif
+
ifeq "$(fast)" "YES"
setfast = -e config.fast=1
else
@@ -209,6 +215,7 @@ test: $(TIMEOUT_PROGRAM)
$(patsubst %, --only=%, $(TESTS)) \
$(patsubst %, --way=%, $(WAY)) \
$(patsubst %, --skipway=%, $(SKIPWAY)) \
+ $(set_list_broken) \
$(setfast) \
$(setaccept)
@@ -220,3 +227,6 @@ accept:
fast:
$(MAKE) fast=YES
+list_broken:
+ $(MAKE) list_broken=YES
+