aboutsummaryrefslogtreecommitdiff
path: root/git-annex.cabal
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 /git-annex.cabal
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 'git-annex.cabal')
-rw-r--r--git-annex.cabal15
1 files changed, 6 insertions, 9 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 0846ec3fe..f2a8b47f5 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -277,9 +277,6 @@ Flag AndroidSplice
Description: Building to get TH splices for Android
Default: False
-Flag TestSuite
- Description: Embed the test suite into git-annex
-
Flag TorrentParser
Description: Use haskell torrent library to parse torrent files
@@ -311,7 +308,6 @@ Executable git-annex
optparse-applicative (>= 0.11.0),
containers (>= 0.5.0.0),
exceptions (>= 0.6),
- QuickCheck (>= 2.1),
stm (>= 2.3),
mtl (>= 2),
uuid (>= 1.2.6),
@@ -359,7 +355,12 @@ Executable git-annex
crypto-api,
cryptonite,
memory,
- split
+ split,
+ QuickCheck (>= 2.1),
+ tasty (>= 0.7),
+ tasty-hunit,
+ tasty-quickcheck,
+ tasty-rerun
CC-Options: -Wall
GHC-Options: -Wall -fno-warn-tabs
Extensions: PackageImports, LambdaCase
@@ -392,10 +393,6 @@ Executable git-annex
if impl(ghc <= 7.6.3)
Other-Modules: Utility.Touch.Old
- if flag(TestSuite)
- Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun
- CPP-Options: -DWITH_TESTSUITE
-
if flag(S3)
Build-Depends: conduit, conduit-extra, aws (>= 0.9.2)
CPP-Options: -DWITH_S3