commit d090f4be5910b9152c726135b143820ff40fc50f
Author: Arkadiusz Miƛkiewicz <ar...@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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to