mirror of
https://github.com/typeable/bloodhound.git
synced 2024-09-11 08:25:32 +03:00
Merge pull request #206 from jagare/test_default_es5
ES5 default for tests
This commit is contained in:
commit
b0862f2560
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user