summaryrefslogtreecommitdiff
path: root/testsuite/mk
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2013-09-20 15:15:51 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2013-09-20 15:15:51 +0200
commit1e24696542cb4dc9fbb5186f4ecd7422ea3f6426 (patch)
tree40c0c6fc1f2baedc46915571dc59c326d097e74a /testsuite/mk
parent33dfd925eac4f481dfeefadc6d801bb2d24daab0 (diff)
downloadhaskell-1e24696542cb4dc9fbb5186f4ecd7422ea3f6426.tar.gz
Test driver: Implement different verbosities
Select verbosity with "make VERBOSE=n". Options so far: n=0: No per-test output n=1: Only failing test results n=2: As above, plus progress information (names of all tests) n=3: As aobve, plus commands called. Default currently is n=3, although n=2 might be a nicer default.
Diffstat (limited to 'testsuite/mk')
-rw-r--r--testsuite/mk/test.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk
index 5b1fad7fbb..928e1e4af2 100644
--- a/testsuite/mk/test.mk
+++ b/testsuite/mk/test.mk
@@ -159,6 +159,10 @@ ifneq "$(THREADS)" ""
RUNTEST_OPTS += --threads=$(THREADS)
endif
+ifneq "$(VERBOSE)" ""
+RUNTEST_OPTS += --verbose=$(VERBOSE)
+endif
+
ifneq "$(CLEAN_ONLY)" ""
RUNTEST_OPTS += -e clean_only=True
else