From 04364dad658d986241266561f91a2f06f50c99b3 Mon Sep 17 00:00:00 2001 From: Greg Weber Date: Sun, 20 May 2012 17:15:57 -0700 Subject: [PATCH] test mongodb and yesod-test --- yesod/test/scaffold.sh | 3 ++- yesod/test/scaffold_test.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 ; }