summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-11-01 13:41:12 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-11-01 13:41:12 +0400
commit86a5db129be291f27811115b2279988a3c02aad9 (patch)
tree8b0d0a5f80520bcd3028a4ee6376b6ce8c06fc0f
parent376756b512095a932e5a9a884ea66c50476d9609 (diff)
Enable testing
-rw-r--r--bittorrent.cabal46
1 files changed, 21 insertions, 25 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index ae1a06a4..7f59637e 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -130,12 +130,12 @@ library
130 ghc-prof-options: 130 ghc-prof-options:
131 131
132 132
133test-suite properties 133test-suite spec
134 default-language: Haskell2010 134 default-language: Haskell2010
135 default-extensions: 135 default-extensions: OverloadedStrings
136 type: exitcode-stdio-1.0 136 type: exitcode-stdio-1.0
137 hs-source-dirs: tests 137 hs-source-dirs: tests
138 main-is: Main.hs 138 main-is: Spec.hs
139 build-depends: base == 4.* 139 build-depends: base == 4.*
140 , bytestring 140 , bytestring
141 , directory 141 , directory
@@ -146,32 +146,28 @@ test-suite properties
146 , network 146 , network
147 , text 147 , text
148 148
149 , hspec
149 , QuickCheck 150 , QuickCheck
150 , HUnit 151 , quickcheck-instances
151 , test-framework
152 , test-framework-quickcheck2
153 , test-framework-hunit
154 152
155 , bencoding 153 , bencoding
156 , bittorrent 154 , bittorrent
157
158 ghc-options: -Wall -fno-warn-orphans 155 ghc-options: -Wall -fno-warn-orphans
159 156
160 157
161benchmark benchmarks 158--benchmark bench
162 default-language: Haskell2010 159-- default-language: Haskell2010
163 default-extensions: 160-- default-extensions:
164 type: exitcode-stdio-1.0 161-- type: exitcode-stdio-1.0
165 hs-source-dirs: bench 162-- hs-source-dirs: bench
166 main-is: Main.hs 163-- main-is: Main.hs
167 build-depends: base 164-- build-depends: base
168 , bytestring 165-- , bytestring
169 , cereal 166-- , cereal
170 , network 167-- , network
171 168--
172 , criterion 169-- , criterion
173 , deepseq 170-- , deepseq
174 171--
175 , bittorrent 172-- , bittorrent
176 173-- ghc-options: -O2 -Wall -fno-warn-orphans
177 ghc-options: -O2 -Wall -fno-warn-orphans