diff options
Diffstat (limited to 'testsuite/driver/testlib.py')
-rw-r--r-- | testsuite/driver/testlib.py | 9 |
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 |