From 4e2508a672893df5339572e0f1e123bbc864b37e Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Sat, 3 Nov 2018 16:07:34 -0600 Subject: [PATCH] build: run long tests for RPMs, and run them in parallel 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 Change-Id: I36d8d64907c58ceb25bb955edeeac4e1e53ebbe5 Reviewed-on: https://review.whamcloud.com/33570 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Li Dongyang Reviewed-by: Yang Sheng --- e2fsprogs-RHEL-6.spec.in | 2 +- e2fsprogs-RHEL-7.spec.in | 2 +- e2fsprogs-SUSE_LINUX-11+12.spec.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2fsprogs-RHEL-6.spec.in b/e2fsprogs-RHEL-6.spec.in index 8a4973a..c400bc2 100644 --- a/e2fsprogs-RHEL-6.spec.in +++ b/e2fsprogs-RHEL-6.spec.in @@ -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 diff --git a/e2fsprogs-RHEL-7.spec.in b/e2fsprogs-RHEL-7.spec.in index 16a2a98..813f9df 100644 --- a/e2fsprogs-RHEL-7.spec.in +++ b/e2fsprogs-RHEL-7.spec.in @@ -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 diff --git a/e2fsprogs-SUSE_LINUX-11+12.spec.in b/e2fsprogs-SUSE_LINUX-11+12.spec.in index 7fdaba7..b174ed8 100644 --- a/e2fsprogs-SUSE_LINUX-11+12.spec.in +++ b/e2fsprogs-SUSE_LINUX-11+12.spec.in @@ -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} -- 1.8.3.1