tighten up hspec version
This commit is contained in:
parent
9621426a59
commit
642fc47278
@ -3,7 +3,7 @@
|
|||||||
CABAL=cabal
|
CABAL=cabal
|
||||||
|
|
||||||
# install testing dependencies
|
# install testing dependencies
|
||||||
$CABAL install HUnit QuickCheck hspec shelltestrunner
|
$CABAL install HUnit QuickCheck 'hspec >= 0.6.1 && < 0.7' shelltestrunner || exit 1
|
||||||
|
|
||||||
PACKAGES="yesod-core yesod-json yesod-static yesod-persistent yesod-newsfeed yesod-form yesod-auth yesod-sitemap yesod"
|
PACKAGES="yesod-core yesod-json yesod-static yesod-persistent yesod-newsfeed yesod-form yesod-auth yesod-sitemap yesod"
|
||||||
for package in $PACKAGES
|
for package in $PACKAGES
|
||||||
|
|||||||
@ -90,7 +90,7 @@ test-suite runtests
|
|||||||
build-depends: base >= 4 && < 4.3
|
build-depends: base >= 4 && < 4.3
|
||||||
main-is: runtests.hs
|
main-is: runtests.hs
|
||||||
cpp-options: -DTEST
|
cpp-options: -DTEST
|
||||||
build-depends: hspec >= 0.6 && < 0.7
|
build-depends: hspec >= 0.6.1 && < 0.7
|
||||||
,wai-test
|
,wai-test
|
||||||
,HUnit
|
,HUnit
|
||||||
,QuickCheck >= 2 && < 3
|
,QuickCheck >= 2 && < 3
|
||||||
|
|||||||
@ -48,7 +48,7 @@ test-suite runtests
|
|||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
|
|
||||||
build-depends: base >= 4 && < 5
|
build-depends: base >= 4 && < 5
|
||||||
, hspec >= 0.6
|
, hspec >= 0.6.1 && < 0.7
|
||||||
, HUnit
|
, HUnit
|
||||||
, unix-compat >= 0.2 && < 0.3
|
, unix-compat >= 0.2 && < 0.3
|
||||||
, time >= 1.1.4 && < 1.3
|
, time >= 1.1.4 && < 1.3
|
||||||
|
|||||||
@ -41,9 +41,9 @@ test-suite runtests
|
|||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
cpp-options: -DTEST
|
cpp-options: -DTEST
|
||||||
build-depends: yesod-static,
|
build-depends: yesod-static,
|
||||||
base >= 4 && < 5,
|
, base >= 4 && < 5
|
||||||
hspec,
|
, hspec >= 0.6.1 && < 0.7
|
||||||
HUnit
|
, HUnit
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
main-is: runtests.hs
|
main-is: runtests.hs
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user