make --keep-failures show full path to test repo
Otherwise, had to guess which of several subdirectories was the right one.
This commit is contained in:
parent
f4fdab0ffa
commit
65a1cf54ce
1 changed files with 4 additions and 2 deletions
|
@ -196,8 +196,10 @@ withtmpclonerepo' cfg a = do
|
|||
case r of
|
||||
Right () -> return ()
|
||||
Left e -> do
|
||||
whenM (keepFailuresOption . testOptions <$> getTestMode) $
|
||||
putStrLn $ "** Preserving repo for failure analysis in " ++ clone
|
||||
whenM (keepFailuresOption . testOptions <$> getTestMode) $ do
|
||||
topdir <- Utility.Env.getEnvDefault "TOPDIR" ""
|
||||
putStrLn $ "** Preserving repo for failure analysis in " ++
|
||||
fromOsPath (toOsPath topdir </> toOsPath clone)
|
||||
throwM e
|
||||
|
||||
disconnectOrigin :: Assertion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue