break dependency cycle by special casing running of test command
This commit is contained in:
parent
2b805b9589
commit
3a32454b13
3 changed files with 14 additions and 19 deletions
4
Test.hs
4
Test.hs
|
@ -941,8 +941,8 @@ unannexed = runchecks [checkregularfile, checkcontent, checkwritable]
|
|||
|
||||
prepare :: IO ()
|
||||
prepare = do
|
||||
whenM (doesDirectoryExist) tmpdir $
|
||||
error $ "The temporary directory " ++ tmpdir ++ "already exists; cannot run test suite."
|
||||
whenM (doesDirectoryExist tmpdir) $
|
||||
error $ "The temporary directory " ++ tmpdir ++ " already exists; cannot run test suite."
|
||||
|
||||
-- While PATH is mostly avoided, the commit hook does run it,
|
||||
-- and so does git_annex_output. Make sure that the just-built
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue