[elpa] Print logs if tests failed

Dominik Mierzejewski rathann at fedoraproject.org
Fri Mar 20 11:27:51 UTC 2015


commit 60f88c76e9d6799a4f1113e6164511f847c9746e
Author: Dominik 'Rathann' Mierzejewski <dominik at greysector.net>
Date:   Fri Mar 20 12:27:27 2015 +0100

    Print logs if tests failed

 elpa.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/elpa.spec b/elpa.spec
index b134f70..0c5a4b6 100644
--- a/elpa.spec
+++ b/elpa.spec
@@ -193,10 +193,10 @@ done
 %check
 %{_mpich_load}
 pushd mpich
-make check V=1
+make check V=1 || cat elpa*.sh.log
 popd
 pushd _openmp/mpich
-make check V=1
+make check V=1 || cat elpa*.sh.log
 popd
 %{_mpich_unload}
 
@@ -205,7 +205,7 @@ popd
 %ifnarch armv7hl i686
 %{_openmpi_load}
 pushd openmpi
-make check V=1
+make check V=1 || cat elpa*.sh.log
 popd
 %{_openmpi_unload}
 %endif


More information about the scm-commits mailing list