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:
parent
f5f561bd49
commit
79857d7e9f
9 changed files with 14 additions and 43 deletions
14
Test.hs
14
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue