diff --git a/yesod/test/scaffold.sh b/yesod/test/scaffold.sh index 5a95631d..1665a382 100755 --- a/yesod/test/scaffold.sh +++ b/yesod/test/scaffold.sh @@ -13,6 +13,7 @@ runghc main.hs init cabal configure -flibrary-only --disable-optimization cabal build cabal clean - cabal configure + cabal configure --enable-tests cabal build + cabal test ) diff --git a/yesod/test/scaffold_test.sh b/yesod/test/scaffold_test.sh index 2597f502..f30bfb12 100644 --- a/yesod/test/scaffold_test.sh +++ b/yesod/test/scaffold_test.sh @@ -3,4 +3,4 @@ teardown() { rm -rf foobar; ghc-pkg unregister foobar &>/dev/null; } test_sqlite() { ../test/scaffold.sh < ../test/sqlite-input.txt ; } test_postgresql() { ../test/scaffold.sh < ../test/postgresql-input.txt; } -#test_mongodb() { ../test/scaffold.sh < ../test/mongodb-input.txt ; } +test_mongodb() { ../test/scaffold.sh < ../test/mongodb-input.txt ; }