diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-12-20 12:25:03 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-20 12:25:03 -0400 |
commit | f4e72c1974593e08281649b27846eccfc2bbc296 (patch) | |
tree | 2c4ad032dd868b0d16a47c0eba73b9b04c7b32df /Types | |
parent | 5c2ec43e3415866af142e97576d4e3df4829d5d9 (diff) |
Removed the testsuite build flag
Test suite is always included.
Building with this flag disabled has actually been broken for some time,
since Command.TestRemote uses tasty. Fewer build flags are better, so good
time to drop it.
This commit was sponsored by Thomas Hochstein on Patreon.
Diffstat (limited to 'Types')
-rw-r--r-- | Types/Test.hs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Types/Test.hs b/Types/Test.hs index 66f263c2e..50c460f50 100644 --- a/Types/Test.hs +++ b/Types/Test.hs @@ -5,18 +5,13 @@ - Licensed under the GNU GPL version 3 or higher. -} -{-# LANGUAGE CPP #-} - module Types.Test where -#ifdef WITH_TESTSUITE import Test.Tasty.Options import Data.Monoid import Prelude import Types.Command -#endif -#ifdef WITH_TESTSUITE data TestOptions = TestOptions { tastyOptionSet :: OptionSet , keepFailuresOption :: Bool @@ -32,8 +27,5 @@ instance Monoid TestOptions where (fakeSsh a || fakeSsh b) (internalData a <> internalData b) -#else -type TestOptions = () -#endif type TestRunner = TestOptions -> IO () |