[libvirt] [PATCH] spec: Enable unit tests during build
mkasik at redhat.com
mkasik at redhat.com
Fri Oct 20 11:51:29 UTC 2017
From: Marek Kasik <mkasik at redhat.com>
Enable unit tests so that we can catch some problems soon enough
before the package gets to the users.
https://bugzilla.redhat.com/show_bug.cgi?id=1502639
---
libvirt-glib.spec.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libvirt-glib.spec.in b/libvirt-glib.spec.in
index a1ca11f..7191862 100644
--- a/libvirt-glib.spec.in
+++ b/libvirt-glib.spec.in
@@ -116,6 +116,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-gobject-1.0.la
%find_lang %{name}
+%check
+%__make %{?_smp_mflags} check
+
%clean
rm -rf $RPM_BUILD_ROOT
--
2.14.2
More information about the libvir-list
mailing list