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.
This commit is contained in:
Joey Hess 2017-12-20 12:25:03 -04:00
parent f5f561bd49
commit 79857d7e9f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
9 changed files with 14 additions and 43 deletions

14
Test.hs
View file

@ -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