ES5 default for tests

This commit is contained in:
Lars Jägare 2017-08-10 14:28:46 +02:00
parent e34d30285b
commit e10e55db66

View File

@ -22,11 +22,11 @@ source-repository head
Flag ES1
Description: Run the test suite against an Elasticsearch 1.x server
Default: True
Default: False
Flag ES5
Description: Run the test suite against an Elasticsearch 5.x server
Default: False
Default: True
library
ghc-options: -Wall
@ -67,11 +67,11 @@ test-suite tests
ghc-options: -Wall -fno-warn-orphans
type: exitcode-stdio-1.0
main-is: tests.hs
if flag(ES5)
hs-source-dirs: tests/V5
else
if flag(ES1)
hs-source-dirs: tests/V1
else
hs-source-dirs: tests/V5
build-depends: base,
bloodhound,
bytestring,