summaryrefslogtreecommitdiff
path: root/git-annex.hs
diff options
context:
space:
mode:
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