[packages/poldek] - run tests even if these are failing now
arekm
arekm at pld-linux.org
Mon Mar 2 11:38:20 CET 2020
commit d090f4be5910b9152c726135b143820ff40fc50f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 2 11:38:08 2020 +0100
- run tests even if these are failing now
poldek.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/poldek.spec b/poldek.spec
index ce813e1..037cc08 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -8,6 +8,7 @@
%bcond_without python # don't build python bindings
%bcond_with snap # install configs for official Th snapshot
%bcond_with rpm4 # use rpm4 instead of rpm5
+%bcond_without tests # tests
# current snapshot name
%define SNAP 2019
@@ -266,6 +267,10 @@ CPPFLAGS="%{rpmcppflags} -std=gnu99 -fgnu89-inline -D_GNU_SOURCE=1"
%{__make} -C python
%endif
+%if %{with tests}
+%{__make} check
+%endif
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/var/cache/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/d090f4be5910b9152c726135b143820ff40fc50f
More information about the pld-cvs-commit
mailing list