summaryrefslogtreecommitdiff
path: root/git-annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-17 16:45:44 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-17 16:45:44 -0400
commit0755035aab443a0a0a25c921dcee4174db02231f (patch)
treef1440bb74dffec6db8bf957979a7d2a5484b6f7a /git-annex.hs
parenta8f931e785775d0a4ef3c9b96f863ea57cdb3033 (diff)
try building test suite on windows
Diffstat (limited to 'git-annex.hs')
-rw-r--r--git-annex.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/git-annex.hs b/git-annex.hs
index b8b05a27c..0f45f53eb 100644
--- a/git-annex.hs
+++ b/git-annex.hs
@@ -13,10 +13,7 @@ import System.FilePath
import qualified GitAnnex
import qualified GitAnnexShell
#ifdef WITH_TESTSUITE
-#ifndef __WINDOWS__
import qualified Test
-#define CHECK_TEST
-#endif
#endif
main :: IO ()
@@ -28,7 +25,7 @@ main = run =<< getProgName
isshell n = takeFileName n == "git-annex-shell"
go a = do
ps <- getArgs
-#ifdef CHECK_TEST
+#ifdef WITH_TESTSUITE
if ps == ["test"]
then Test.main
else a ps