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
|
case r of
|
||||||
Right () -> return ()
|
Right () -> return ()
|
||||||
Left e -> do
|
Left e -> do
|
||||||
whenM (keepFailuresOption . testOptions <$> getTestMode) $
|
whenM (keepFailuresOption . testOptions <$> getTestMode) $ do
|
||||||
putStrLn $ "** Preserving repo for failure analysis in " ++ clone
|
topdir <- Utility.Env.getEnvDefault "TOPDIR" ""
|
||||||
|
putStrLn $ "** Preserving repo for failure analysis in " ++
|
||||||
|
fromOsPath (toOsPath topdir </> toOsPath clone)
|
||||||
throwM e
|
throwM e
|
||||||
|
|
||||||
disconnectOrigin :: Assertion
|
disconnectOrigin :: Assertion
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue