Browse code

libtiff, libusb, lsscsi, mc, and nasm are now configured for makecheck

Change-Id: I077146907728b5183a709d17283ed5ee91b31c17
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1589
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: rongrong qiu <rqiu@vmware.com>

Chang authored on 2016/10/28 05:54:52
Showing 5 changed files
... ...
@@ -49,6 +49,9 @@ make %{?_smp_mflags}
49 49
 make DESTDIR=%{buildroot} install
50 50
 find %{buildroot} -name '*.la' -delete
51 51
 
52
+%check
53
+make %{?_smp_mflags} -k check
54
+
52 55
 %post
53 56
 /sbin/ldconfig
54 57
 
... ...
@@ -34,6 +34,12 @@ make
34 34
 %install
35 35
 make DESTDIR=%{buildroot} install
36 36
 
37
+%check
38
+pushd tests
39
+make %{?_smp_mflags} -k check
40
+./stress
41
+popd
42
+
37 43
 %post   -p /sbin/ldconfig
38 44
 %postun -p /sbin/ldconfig
39 45
 
... ...
@@ -22,6 +22,9 @@ This lists the information about SCSI devices.
22 22
 %install
23 23
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
24 24
 
25
+%check
26
+make %{?_smp_mflags} -k check
27
+
25 28
 %files
26 29
 %defattr(-,root,root)
27 30
 %{_bindir}/*
... ...
@@ -22,6 +22,10 @@ MC (Midnight Commander) is a text-mode full-screen file manager and visual shell
22 22
 make %{?_smp_mflags}
23 23
 %install
24 24
 make DESTDIR=%{buildroot} install
25
+
26
+%check
27
+make %{?_smp_mflags} -k check
28
+
25 29
 %files
26 30
 %defattr(-,root,root)
27 31
 /etc/*
... ...
@@ -18,6 +18,8 @@ NASM (Netwide Assembler) is an 80x86 assembler designed for portability and modu
18 18
 make %{?_smp_mflags}
19 19
 %install
20 20
 make INSTALLROOT=%{buildroot} install
21
+%check
22
+make %{?_smp_mflags} -k test
21 23
 %files
22 24
 %defattr(-,root,root)
23 25
 %{_bindir}/*