Browse code

netmgmt, nginx, nomad, openscap, and perl-JSON-Any are now configured for makecheck

Change-Id: Ib8fbc0d43e4c394a67297e6dfeccb11dc152dc88
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1590
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Danut Moraru <dmoraru@vmware.com>

Chang authored on 2016/10/28 06:10:27
Showing 5 changed files
... ...
@@ -43,6 +43,8 @@ make
43 43
 make DESTDIR=%{buildroot} install
44 44
 find %{buildroot} -name '*.la' -delete
45 45
 
46
+%check
47
+make %{?_smp_mflags} -k check
46 48
 %post
47 49
 
48 50
     /sbin/ldconfig
... ...
@@ -37,9 +37,6 @@ install -vdm755 %{buildroot}/usr/lib/systemd/system
37 37
 install -vdm755 %{buildroot}%{_var}/log/nginx
38 38
 install -p -m 0644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/nginx.service
39 39
 
40
-%check
41
-make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
42
-
43 40
 %files
44 41
 %defattr(-,root,root)
45 42
 %{_sysconfdir}/*
... ...
@@ -33,9 +33,6 @@ mv %{_builddir}/%{name}-%{version}/%{name} %{buildroot}%{_bindir}/
33 33
 cp %{SOURCE1} %{buildroot}/usr/lib/systemd/system
34 34
 install -vdm755 %{buildroot}/var/lib/%{name}
35 35
 
36
-%check
37
-make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
38
-
39 36
 %post	-p /sbin/ldconfig
40 37
 %systemd_post %{name}.service
41 38
 
... ...
@@ -60,9 +60,11 @@ Python bindings.
60 60
 make
61 61
 %install
62 62
 make DESTDIR=%{buildroot} install
63
-make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
64 63
 find %{buildroot} -name '*.la' -delete
65 64
 
65
+%check
66
+make %{?_smp_mflags} -k check
67
+
66 68
 %files
67 69
 %defattr(-,root,root)
68 70
 %{_sysconfdir}/*
... ...
@@ -31,7 +31,7 @@ find %{buildroot} -type f \( -name .packlist -o \
31 31
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
32 32
 
33 33
 %check
34
-make test
34
+make %{?_smp_mflags} -k test
35 35
 
36 36
 %files
37 37
 %{perl_vendorlib}/*