diff options
Diffstat (limited to 'git-annex.hs')
-rwxr-xr-x[-rw-r--r--] | git-annex.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git-annex.hs b/git-annex.hs index 0f45f53eb..b8b05a27c 100644..100755 --- a/git-annex.hs +++ b/git-annex.hs @@ -13,7 +13,10 @@ import System.FilePath import qualified GitAnnex import qualified GitAnnexShell #ifdef WITH_TESTSUITE +#ifndef __WINDOWS__ import qualified Test +#define CHECK_TEST +#endif #endif main :: IO () @@ -25,7 +28,7 @@ main = run =<< getProgName isshell n = takeFileName n == "git-annex-shell" go a = do ps <- getArgs -#ifdef WITH_TESTSUITE +#ifdef CHECK_TEST if ps == ["test"] then Test.main else a ps |