From 6906ff501b31ea0328c6db4038ada43e53a7d46b Mon Sep 17 00:00:00 2001 From: Sam T Date: Thu, 4 Jul 2013 02:09:45 +0400 Subject: ~ Move info hash test to main test suite. --- bittorrent.cabal | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'bittorrent.cabal') diff --git a/bittorrent.cabal b/bittorrent.cabal index 8ad50eca..c9eaaa47 100644 --- a/bittorrent.cabal +++ b/bittorrent.cabal @@ -29,10 +29,12 @@ source-repository head type: git location: git://github.com/pxqr/bittorrent.git + flag testing description: Expose debug stuff in export declarations. default: False + library exposed-modules: Data.Torrent , Data.Bitfield @@ -138,24 +140,6 @@ executable example -test-suite info-hash - type: exitcode-stdio-1.0 - main-is: InfoHash.hs - hs-source-dirs: tests - - build-depends: base - , bytestring - , containers - , bencoding - , bittorrent - , Diff - - ghc-options: -Wall - - if !flag(testing) - buildable: False - - test-suite properties type: exitcode-stdio-1.0 main-is: Main.hs @@ -163,6 +147,7 @@ test-suite properties build-depends: base == 4.* , bytestring , directory + , filepath , cereal , network -- cgit v1.2.3