diff options
-rw-r--r-- | Command/Test.hs | 12 | ||||
-rw-r--r-- | GitAnnex.hs | 2 | ||||
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | git-annex.cabal | 2 |
4 files changed, 17 insertions, 6 deletions
diff --git a/Command/Test.hs b/Command/Test.hs index d4fa5eb5b..be480eeb7 100644 --- a/Command/Test.hs +++ b/Command/Test.hs @@ -7,11 +7,12 @@ module Command.Test where +import Common import Command import Messages def :: [Command] -def = [ dontCheck repoExists $ +def = [ noRepo startIO $ dontCheck repoExists $ command "test" paramNothing seek SectionPlumbing "run built-in test suite"] @@ -28,7 +29,10 @@ seek = [withWords start] - test suite. -} start :: [String] -> CommandStart -start [] = do - warning "git-annex was built without its test suite; not testing" +start ps = do + liftIO $ startIO ps stop -start _ = error "Cannot specify any additional parameters when running test" + +startIO :: CmdParams -> IO () +startIO [] = warningIO "git-annex was built without its test suite; not testing" +startIO _ = error "Cannot specify any additional parameters when running test" diff --git a/GitAnnex.hs b/GitAnnex.hs index 5de823e16..4c1649ba1 100644 --- a/GitAnnex.hs +++ b/GitAnnex.hs @@ -164,8 +164,8 @@ cmds = concat , Command.XMPPGit.def #endif #endif -#ifdef WITH_TESTSUITE , Command.Test.def +#ifdef WITH_TESTSUITE , Command.FuzzTest.def #endif ] diff --git a/debian/changelog b/debian/changelog index 36523ce04..e1853da5b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +git-annex (5.20140117) unstable; urgency=medium + + * Really fix FTBFS on mipsel and sparc due to test suite not being available + on those architectures. + + -- Joey Hess <joeyh@debian.org> Fri, 17 Jan 2014 14:46:27 -0400 + git-annex (5.20140116) unstable; urgency=medium * Added tahoe special remote. diff --git a/git-annex.cabal b/git-annex.cabal index 034e70ee1..9b4edf8b2 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -1,5 +1,5 @@ Name: git-annex -Version: 5.20140116 +Version: 5.20140117 Cabal-Version: >= 1.8 License: GPL-3 Maintainer: Joey Hess <joey@kitenet.net> |