]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- run tests even if these are failing now
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 2 Mar 2020 10:38:08 +0000 (11:38 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 2 Mar 2020 10:38:08 +0000 (11:38 +0100)
poldek.spec

index ce813e1906489b4856899dc8e8e48877ef138bc4..037cc089f11e82e21dfdfc5780f5709836f96c68 100644 (file)
@@ -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}
This page took 0.133463 seconds and 4 git commands to generate.