Moved all describes tests into their own functions.
Factored out the db specific tests and kept the macros as placeholders. Import everything in the cabal file for now. Only using the flags to test that everything still works.
This commit is contained in:
parent
352fca204c
commit
fe4a78d4b6
@ -107,18 +107,16 @@ test-suite test
|
||||
-- This library
|
||||
, esqueleto
|
||||
|
||||
if flag(postgresql)
|
||||
build-depends:
|
||||
postgresql-simple >= 0.2
|
||||
, postgresql-libpq >= 0.6
|
||||
, persistent-postgresql >= 2.0
|
||||
, postgresql-simple >= 0.2
|
||||
, postgresql-libpq >= 0.6
|
||||
, persistent-postgresql >= 2.0
|
||||
|
||||
, mysql-simple >= 0.2.2.3
|
||||
, mysql >= 0.1.1.3
|
||||
, persistent-mysql >= 2.0
|
||||
|
||||
if flag(postgresql)
|
||||
cpp-options: -DWITH_POSTGRESQL
|
||||
|
||||
if flag(mysql)
|
||||
build-depends:
|
||||
mysql-simple >= 0.2.2.3
|
||||
, mysql >= 0.1.1.3
|
||||
, persistent-mysql >= 2.0
|
||||
|
||||
cpp-options: -DWITH_MYSQL
|
||||
|
||||
2822
test/Test.hs
2822
test/Test.hs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user