Don't test AcidStorage on local storage if on GHC < 7.10.
I give up. I hope the tests finally go green on Travis.
This commit is contained in:
parent
e4f9f422d8
commit
9b1be63b8a
@ -48,7 +48,9 @@ test-suite tests
|
|||||||
, serversession
|
, serversession
|
||||||
, serversession-backend-acid-state
|
, serversession-backend-acid-state
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
ghc-options: -Wall -threaded "-with-rtsopts=-N -s -M1.5G -F1.5 -c" -rtsopts
|
extensions:
|
||||||
|
CPP
|
||||||
|
ghc-options: -Wall -threaded "-with-rtsopts=-N -s -M1G -c" -rtsopts
|
||||||
|
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
|
|||||||
@ -19,4 +19,8 @@ main =
|
|||||||
describe "AcidStorage on memory only" $
|
describe "AcidStorage on memory only" $
|
||||||
allStorageTests acidMem it runIO parallel shouldBe shouldReturn shouldThrow
|
allStorageTests acidMem it runIO parallel shouldBe shouldReturn shouldThrow
|
||||||
describe "AcidStorage on local storage" $
|
describe "AcidStorage on local storage" $
|
||||||
|
#if MIN_TOOL_VERSION_ghc(7,10,1)
|
||||||
allStorageTests acidLocal it runIO parallel shouldBe shouldReturn shouldThrow
|
allStorageTests acidLocal it runIO parallel shouldBe shouldReturn shouldThrow
|
||||||
|
#else
|
||||||
|
pendingWith "disabled on GHC < 7.10.1, cf. <https://github.com/acid-state/acid-state/issues/55>."
|
||||||
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user