summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2015-09-20 12:16:50 +0200
committerBen Gamari <ben@smart-cactus.org>2015-09-20 12:16:51 +0200
commitb89c49138fcd62a1175d67fac62d59ac2497bfdd (patch)
treed5b175c746ab564948ff555352087f2eec6481bd /testsuite/tests/codeGen
parent8ee2b9532e3249c652f3bdabaf4ee9e3e3a282b9 (diff)
downloadhaskell-b89c49138fcd62a1175d67fac62d59ac2497bfdd.tar.gz
Always run explicitly requested ways (extra_ways) for fast runs.
To keep validates fast, we only one run one way. But I think that it's important for some tests to run them a few ways, just to make sure functionality, e.g. the profiler, is working. This commit changes the logic so that any way specified in extra_ways is always run for fast. The big changes is now profiling tests are run on validate. I also made it so the G1 garbage collector tests only run on slow. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: austin, thomie, bgamari Reviewed By: austin, thomie, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1251
Diffstat (limited to 'testsuite/tests/codeGen')
-rw-r--r--testsuite/tests/codeGen/should_run/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/codeGen/should_run/all.T b/testsuite/tests/codeGen/should_run/all.T
index f9e0e0e7e2..ab2ce60cca 100644
--- a/testsuite/tests/codeGen/should_run/all.T
+++ b/testsuite/tests/codeGen/should_run/all.T
@@ -1,5 +1,5 @@
# Test +RTS -G1 here (it isn't tested anywhere else)
-setTestOpts(extra_ways(['g1']))
+setTestOpts(unless(fast(), extra_ways(['g1'])))
test('cgrun001', normal, compile_and_run, [''])
test('cgrun002', normal, compile_and_run, [''])