summaryrefslogtreecommitdiff
path: root/Test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-12-20 12:25:03 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-12-20 12:25:03 -0400
commitf4e72c1974593e08281649b27846eccfc2bbc296 (patch)
tree2c4ad032dd868b0d16a47c0eba73b9b04c7b32df /Test.hs
parent5c2ec43e3415866af142e97576d4e3df4829d5d9 (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 'Test.hs')
-rw-r--r--Test.hs14
1 files changed, 0 insertions, 14 deletions
diff --git a/Test.hs b/Test.hs
index 60876124f..63ac73a87 100644
--- a/Test.hs
+++ b/Test.hs
@@ -12,18 +12,6 @@ module Test where
import Types.Test
import Options.Applicative.Types
-#ifndef WITH_TESTSUITE
-
-import Options.Applicative (pure)
-
-optParser :: Parser ()
-optParser = pure ()
-
-runner :: Maybe (() -> IO ())
-runner = Nothing
-
-#else
-
import Test.Tasty
import Test.Tasty.Runners
import Test.Tasty.HUnit
@@ -2235,5 +2223,3 @@ getKey b f = fromJust <$> annexeval go
, Types.KeySource.contentLocation = f
, Types.KeySource.inodeCache = Nothing
}
-
-#endif