From 45fd64d3ddaf6c1ed62c1f1c511e02b6ebb7184a Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mar 01 2017 00:07:13 +0000 Subject: Revert "Temporarily disable tests" This reverts commit 4cad024d7c456bc0e3944454afdae42813139954. --- diff --git a/sigul.spec b/sigul.spec index c972cb0..1500b27 100644 --- a/sigul.spec +++ b/sigul.spec @@ -2,7 +2,7 @@ Summary: A signing server and related software client Name: sigul Version: 0.205 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 URL: https://pagure.io/sigul/ @@ -88,19 +88,19 @@ export GPG=/usr/bin/gpg1 make %{?_smp_mflags} %check -#%ifnarch ppc64 ppc64le +%ifnarch ppc64 ppc64le # Skopeo fails to build for ppc64le -#%if 0%{?fedora} -# if make check; then -# echo "Tests passed" -# else -# echo "Tests failed. Log output follows" -# cat testsuite.log -# cat testsuite.dir/*/{testsuite.log,bridge/sigul_bridge.log,server/sigul_server.log} -# exit 1 -# fi -#%endif -#%endif +%if 0%{?fedora} + if make check; then + echo "Tests passed" + else + echo "Tests failed. Log output follows" + cat testsuite.log + cat testsuite.dir/*/{testsuite.log,bridge/sigul_bridge.log,server/sigul_server.log} + exit 1 + fi +%endif +%endif %install make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install @@ -173,6 +173,9 @@ exit 0 %changelog +* Wed Mar 01 2017 Patrick Uiterwijk - 0.205-2 +- Enable tests + * Wed Mar 01 2017 Patrick Uiterwijk - 0.205-1 - Rebase to upstream 0.205