From 9c8cbbc510e2eb6a72d2c39bba23a609a0332f23 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Wed, 27 May 2015 11:01:13 +0200 Subject: [PATCH] Re-enable unit test during rpm build. Ignore exit status for now --- pingcheck.spec | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/pingcheck.spec b/pingcheck.spec index c7650e7..f5132aa 100644 --- a/pingcheck.spec +++ b/pingcheck.spec @@ -33,7 +33,8 @@ cmake -DCMAKE_INSTALL_PREFIX="%{prefix}" ../ make %{_smp_mflags} %check -#make check +cd build +make %{_smp_mflags} check || echo "Unit test failed. Ignoring for now" %install rm -rf $RPM_BUILD_ROOT -- 1.7.1