summaryrefslogtreecommitdiff
path: root/testsuite/driver/testlib.py
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-11 15:39:12 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-11 15:39:12 +0000
commit30a52e41290d889a60b338cdd1ca6fcd22fe31f2 (patch)
tree81eb88ac18a442f174b9caf14a5129f8c1ff6134 /testsuite/driver/testlib.py
parentd36dc348b8de7adbf3399ef4fb39fb73feda179e (diff)
downloadhaskell-30a52e41290d889a60b338cdd1ca6fcd22fe31f2.tar.gz
More helper conversions
Diffstat (limited to 'testsuite/driver/testlib.py')
-rw-r--r--testsuite/driver/testlib.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 7fcdaefe8e..89d6c2e047 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -299,12 +299,6 @@ def skip_if_no_ghci(name, opts):
# ----
-def skip_if_fast(name, opts):
- if config.fast:
- opts.skip = 1
-
-# -----
-
def when(b, f):
# When list_brokens is on, we want to see all expect_broken calls,
# so we always do f
@@ -316,6 +310,9 @@ def when(b, f):
def unless(b, f):
return when(not b, f)
+def fast():
+ return config.fast
+
def platform( plat ):
return config.platform == plat