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:
Felipe Lessa 2015-06-01 02:49:00 -03:00
parent e4f9f422d8
commit 9b1be63b8a
2 changed files with 7 additions and 1 deletions

View File

@ -48,7 +48,9 @@ test-suite tests
, serversession
, serversession-backend-acid-state
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

View File

@ -19,4 +19,8 @@ main =
describe "AcidStorage on memory only" $
allStorageTests acidMem it runIO parallel shouldBe shouldReturn shouldThrow
describe "AcidStorage on local storage" $
#if MIN_TOOL_VERSION_ghc(7,10,1)
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