[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
51/75: gnu: findutils-boot0: Re-enable most tests.
From: |
guix-commits |
Subject: |
51/75: gnu: findutils-boot0: Re-enable most tests. |
Date: |
Sun, 21 Jan 2024 13:21:48 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 3f4176ec376c2d07daaa2eabbcf613d6ff94219d
Author: Pierre Langlois <pierre.langlois@gmx.com>
AuthorDate: Thu Feb 11 19:38:16 2021 +0000
gnu: findutils-boot0: Re-enable most tests.
* gnu/packages/commencement.scm (findutils-boot0) [arguments]: Enable tests.
Rename skip-fnmatch-test phase skip-problematic-tests. Only disable
test-fnmatch on x86_64 and i686. Disable pthread tests on other platforms.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I1efd62d98a27c3d9b878f37c890d6ff0ea6ea675
---
gnu/packages/commencement.scm | 33 +++++++++++++++++++--------------
1 file changed, 19 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index c88f86d40f..d2c1565e20 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2022, 2023 Ekaitz Zarraga <ekaitz@elenq.tech>
;;;
@@ -2015,10 +2016,7 @@ exec " gcc "/bin/" program
,@(%bootstrap-inputs+toolchain)))
(arguments
`(#:implicit-inputs? #f
- ;; Ignore test failure in gnulib for armhf/aarch64.
- #:tests? ,(not (target-arm?))
#:guile ,%bootstrap-guile
-
;; The build system assumes we have done a mistake when time_t is 32-bit
;; on a 64-bit system. Ignore that for our bootstrap toolchain.
,@(substitute-keyword-arguments (package-arguments findutils)
@@ -2035,17 +2033,24 @@ exec " gcc "/bin/" program
,flags))
((#:phases phases '%standard-phases)
`(modify-phases ,phases
- ;; 'test-fnmatch' fails when using glibc-mesboot@2.16, due
- ;; to incorrect handling of the [:alpha:] regexp character
- ;; class. Ignore it.
- ,@(if (member (%current-system)
- '("x86_64-linux" "i686-linux"))
- '((add-before 'check 'skip-fnmatch-test
- (lambda _
- (substitute* "gnulib-tests/Makefile"
- (("^XFAIL_TESTS =")
- "XFAIL_TESTS = test-fnmatch ")))))
- '()))))))))
+ (add-before 'check 'skip-problematic-tests
+ (lambda _
+ ,(match (%current-system)
+ ;; 'test-fnmatch' fails when using glibc-mesboot@2.16, due
+ ;; to incorrect handling of the [:alpha:] regexp character
+ ;; class. Ignore it.
+ ((or "x86_64-linux" "i686-linux")
+ '(substitute* "gnulib-tests/Makefile"
+ (("^XFAIL_TESTS =")
+ "XFAIL_TESTS = test-fnmatch ")))
+ (_
+ ;; XXX: The pthread tests are known to fail at least on
+ ;; ARM; skip them.
+ '(substitute* "gnulib-tests/Makefile"
+ (("test-pthread\\$\\(EXEEXT\\)") "")
+ (("test-pthread-thread\\$\\(EXEEXT\\)") "")
+ (("test-pthread_sigmask1\\$\\(EXEEXT\\)") "")
+ (("test-pthread_sigmask2\\$\\(EXEEXT\\)")
"")))))))))))))
(define file
(package
- 28/75: gnu: font-culmus: Install all license files., (continued)
- 28/75: gnu: font-culmus: Install all license files., guix-commits, 2024/01/21
- 30/75: gnu: font-dseg: Install license file., guix-commits, 2024/01/21
- 33/75: gnu: font-charter: Install license file., guix-commits, 2024/01/21
- 61/75: build/cargo-build-system: Support 16k page sizes on aarch64., guix-commits, 2024/01/21
- 13/75: gnu: inetutils: Convert to gexp., guix-commits, 2024/01/21
- 35/75: gnu: webrtc-audio-processing: Update to 1.0., guix-commits, 2024/01/21
- 45/75: gnu: dbm: Regenerate Autotools files., guix-commits, 2024/01/21
- 58/75: gnu: python: Make the build reproducible., guix-commits, 2024/01/21
- 65/75: gnu: patchelf: Update to 0.18.0., guix-commits, 2024/01/21
- 66/75: gnu: qpdf: Update to 11.8.0., guix-commits, 2024/01/21
- 51/75: gnu: findutils-boot0: Re-enable most tests.,
guix-commits <=
- 17/75: gnu: font-canada1500: Install license file., guix-commits, 2024/01/21
- 36/75: gnu: libxcomposite: Update to 0.4.6., guix-commits, 2024/01/21
- 38/75: gnu: transset: Update to 1.0.3., guix-commits, 2024/01/21
- 42/75: gnu: bluez: enable wiimote plugin., guix-commits, 2024/01/21
- 44/75: gnu: man-pages-posix: Remove redundant manpage compression., guix-commits, 2024/01/21
- 46/75: build-system/go: Honor #:parallel-build?., guix-commits, 2024/01/21
- 48/75: import: crate: Emit new-style package inputs., guix-commits, 2024/01/21
- 54/75: gnu: bluez: Update to 5.72., guix-commits, 2024/01/21
- 57/75: packages: Fix repacked file name extension when zstd is unavailable., guix-commits, 2024/01/21
- 63/75: gnu: libgpg-error: Update to 1.47., guix-commits, 2024/01/21