Merge pull request #206 from jagare/test_default_es5

ES5 default for tests
This commit is contained in:
Chris Allen 2017-08-10 10:15:50 -05:00 committed by GitHub
commit b0862f2560

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,