Bump version
[darcs-mirrors/vector.git] / tests / vector-tests.cabal
index b89f0fb..575c7ec 100644 (file)
@@ -1,10 +1,10 @@
 Name:           vector-tests
-Version:        0.5
+Version:        0.9.2
 License:        BSD3
 License-File:   LICENSE
 Author:         Max Bolingbroke, Roman Leshchinskiy
 Maintainer:     Roman Leshchinskiy <rl@cse.unsw.edu.au>
-Copyright:      (c) Max Bolinbroke, Roman Leshchinskiy 2008-2009
+Copyright:      (c) Max Bolinbroke, Roman Leshchinskiy 2008-2010
 Homepage:       http://darcs.haskell.org/vector
 Category:       Data Structures
 Synopsis:       Efficient Arrays
@@ -14,9 +14,14 @@ Description:
 Cabal-Version:  >= 1.2
 Build-Type:     Simple
 
-Executable "vector-tests"
+
+Executable "vector-tests-O0"
   Main-Is:  Main.hs
 
+  Build-Depends: base >= 4 && < 5, template-haskell, vector == 0.9.2,
+                 random,
+                 QuickCheck >= 2, test-framework, test-framework-quickcheck2
+
   Extensions: CPP,
               ScopedTypeVariables,
               PatternGuards,
@@ -27,11 +32,26 @@ Executable "vector-tests"
               TypeFamilies,
               TemplateHaskell
 
-  Build-Depends: base, template-haskell, vector, random,
+  Ghc-Options: -O0
+  Ghc-Options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
+
+Executable "vector-tests-O2"
+  Main-Is:  Main.hs
+
+  Build-Depends: base >= 4 && < 5, template-haskell, vector == 0.9.2,
+                 random,
                  QuickCheck >= 2, test-framework, test-framework-quickcheck2
 
-  -- Don't let fusion occur or GHC will make our tests less informative in some cases :-)
-  Ghc-Options: -O0
-  
-  -- It's good practice to show all warnings, but since this is just test code let's ignore type sigs
+  Extensions: CPP,
+              ScopedTypeVariables,
+              PatternGuards,
+              MultiParamTypeClasses,
+              FlexibleContexts,
+              Rank2Types,
+              TypeSynonymInstances,
+              TypeFamilies,
+              TemplateHaskell
+
+  Ghc-Options: -O2
   Ghc-Options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
+