From 5f411d144c343924849c93b203b393a33e395ce9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 27 Feb 2013 15:59:31 -0400 Subject: disable test suite on Android Cannot get QuickCheck to install just now. --- git-annex.hs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'git-annex.hs') diff --git a/git-annex.hs b/git-annex.hs index e2cd80ace..a2ddb0032 100644 --- a/git-annex.hs +++ b/git-annex.hs @@ -5,12 +5,16 @@ - Licensed under the GNU GPL version 3 or higher. -} +{-# LANGUAGE CPP #-} + import System.Environment import System.FilePath import qualified GitAnnex import qualified GitAnnexShell +#ifdef WITH_TESTUITE import qualified Test +#endif main :: IO () main = run =<< getProgName @@ -21,6 +25,10 @@ main = run =<< getProgName isshell n = takeFileName n == "git-annex-shell" go a = do ps <- getArgs +#ifdef WITH_TESTUITE if ps == ["test"] then Test.main else a ps +#else + a ps +#endif -- cgit v1.2.3