[packages/coreutils] run the test suite by default, without -j1

arekm arekm at pld-linux.org
Tue Sep 15 00:25:22 CEST 2026


commit 4845223f90b2648880a25947f5debd99617131e5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Sep 15 00:18:47 2026 +0200

    run the test suite by default, without -j1

 coreutils.spec |  6 +++---
 tests.patch    | 11 +++++++++++
 2 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/coreutils.spec b/coreutils.spec
index 14289e7..dc02d09 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -3,7 +3,7 @@
 %bcond_with	advcopy		# progress bar in cp (orphaned patch)
 %bcond_with	multicall	# Compile all the tools in a single binary
 %bcond_without	systemd		# take login records from systemd-logind
-%bcond_with	tests		# unit tests running
+%bcond_without	tests		# unit tests running
 %bcond_with	wtmpdb		# don't read login records from the wtmpdb database
 %bcond_without	y2038		# Y2038 support for 32-bit archs
 
@@ -154,13 +154,13 @@ build-aux/gen-lists-of-programs.sh --automake > src/cu-progs.mk
 	%{?with_wtmpdb:--with-wtmpdb} \
 	%{!?with_y2038:--disable-year2038}
 
-%{__make} -j1
+%{__make}
 
 # bison emits #line directives without the lib/ prefix, so debugsource misses these
 %{__ln} lib/parse-datetime.c lib/parse-datetime.y .
 
 %if %{with tests}
-LC_ALL=C LANG=C %{__make} -j1 tests check
+LC_ALL=C LANG=C %{__make} tests check
 %endif
 
 %install
diff --git a/tests.patch b/tests.patch
index ed03386..38fb188 100644
--- a/tests.patch
+++ b/tests.patch
@@ -7,6 +7,8 @@ Tests taken out of the test lists:
   split/r-chunk            likewise
 
   acl tests                libcoreutils.a pulls smack symbols in via file-has-acl
+  test-regex-el            glibc bug 20381, Greek sigma case folding differs with a
+                           fastmap; drop this once glibc is fixed
 
 Environment assumptions of the remaining tests:
   read-file test           /etc/resolv.conf is not readable on the builders
@@ -104,6 +106,15 @@ diff -ruN coreutils-8.27.orig/gnulib-tests/gnulib.mk coreutils-8.27/gnulib-tests
  EXTRA_DIST += nap.h test-lchown.h test-lchown.c signature.h macros.h
  
  ## end   gnulib module lchown-tests
+@@ -3067,7 +3067,7 @@
+ 
+ ## begin gnulib module regex-tests
+ 
+-TESTS += test-regex test-regex-el test-regex-en test-regex-tr
++TESTS += test-regex test-regex-en test-regex-tr
+ TESTS_ENVIRONMENT += LOCALE_EN_UTF8='@LOCALE_EN_UTF8@'
+ check_PROGRAMS += test-regex test-regex-el test-regex-en test-regex-tr
+ test_regex_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) @LIBINTL@ $(LIBC32CONV) $(LIBTHREAD)
 @@ -4465,9 +4465,9 @@
  
  ## begin gnulib module utimens-tests
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/coreutils.git/commitdiff/4845223f90b2648880a25947f5debd99617131e5



More information about the pld-cvs-commit mailing list