aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2015-10-31 00:37:01 +0100
committerDaniel Gröber <dxld@darkboxed.org>2015-10-31 00:37:01 +0100
commit4e40107ef948bd0f04ea948a2129a728a7f3efe1 (patch)
treee3734129c31b95783307a8c71ae66e735d04f033 /tests
parent89e139430b4e3f59976434aac17b5dae1367167a (diff)
spec: Show ghc exit codes before exiting with failure
Diffstat (limited to 'tests')
-rw-r--r--tests/Spec.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Spec.hs b/tests/Spec.hs
index 1294dd8..c8a6be6 100644
--- a/tests/Spec.hs
+++ b/tests/Spec.hs
@@ -64,7 +64,7 @@ main = do
rvs <- mapM compilePrivatePkgDb cabalVers
if any isLeft' rvs
- then exitFailure
+ then print rvs >> exitFailure
else exitSuccess
where
isLeft' (Left _) = True