Whamcloud - gitweb
build: run long tests for RPMs, and run them in parallel 70/33570/2 v1.44.3.wc1-lustre v1.44.3.wc1
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 3 Nov 2018 22:07:34 +0000 (16:07 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 15 Dec 2018 00:00:27 +0000 (00:00 +0000)
Change the "make check" in the RPM .spec.in files to run all of the
tests ("fullcheck" vs. only "check", which now excludes slow tests
by default), but change the .spec file to run the tests in parallel.

This allows long-running tests to start and wait in the background,
while allowing some short-running to actually do work in the meantime.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I36d8d64907c58ceb25bb955edeeac4e1e53ebbe5
Reviewed-on: https://review.whamcloud.com/33570
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
e2fsprogs-RHEL-6.spec.in
e2fsprogs-RHEL-7.spec.in
e2fsprogs-SUSE_LINUX-11+12.spec.in

index 8a4973a..c400bc2 100644 (file)
@@ -176,7 +176,7 @@ chmod +w %{buildroot}%{_libdir}/*.a
 %find_lang %{name}
 
 %check
-make check
+make %{?_smp_mflags} fullcheck
 
 %post libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
index 16a2a98..813f9df 100644 (file)
@@ -177,7 +177,7 @@ install -p -m 644 e2fsck.conf %{buildroot}/etc/e2fsck.conf
 %find_lang %{name}
 
 %check
-make check
+make %{?_smp_mflags} fullcheck
 
 %post libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
index 7fdaba7..b174ed8 100644 (file)
@@ -250,7 +250,7 @@ make %{?_smp_mflags} V=1
 make -C po update-po
 
 %check
-make check
+make %{?_smp_mflags} fullcheck
 
 %install
 make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=/%{_libdir}