summaryrefslogtreecommitdiff
path: root/testsuite/tests/concurrent
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-08-27 12:44:15 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-09-02 20:29:35 +0200
commitc43c8e2c8a6780737b476ada871387a73c43ee68 (patch)
tree7f3f8d2493a9c4799020e9d2a063d8d537fd1e74 /testsuite/tests/concurrent
parent32a9eada8dc4f61a2fb801edf1fda822cb56e0dd (diff)
downloadhaskell-c43c8e2c8a6780737b476ada871387a73c43ee68.tar.gz
Testsuite: by default run all tests for a single way
`make test` now runs all tests for a single way only. Use `make slowtest` to get the previous behaviour (i.e. run all tests for all ways). The intention is to use this new `make test` setting for Phabricator, as a reasonable compromise between `make fasttest` (what it previously used) and a fullblown `make slowtest` (which runs all tests for all ways). See Note [validate and testsuite speed] in toplevel Makefile. Differential Revision: https://phabricator.haskell.org/D1178
Diffstat (limited to 'testsuite/tests/concurrent')
-rw-r--r--testsuite/tests/concurrent/should_run/all.T6
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuite/tests/concurrent/should_run/all.T b/testsuite/tests/concurrent/should_run/all.T
index f4bd78131c..58c3bd13e2 100644
--- a/testsuite/tests/concurrent/should_run/all.T
+++ b/testsuite/tests/concurrent/should_run/all.T
@@ -111,11 +111,7 @@ test('performGC', [ only_ways(['threaded1','threaded2'])
# -----------------------------------------------------------------------------
# These tests we only do for a full run
-def f( name, opts ):
- if config.fast:
- opts.skip = 1
-
-setTestOpts(f)
+setTestOpts(when(fast(), skip))
test('conc001', normal, compile_and_run, [''])
test('conc002', normal, compile_and_run, [''])