me
/
guix
Archived
1
0
Fork 0

gnu: libunwind: Disable tests on most architectures.

* gnu/packages/libunwind.scm (libunwind)[arguments]: Only run the test
suite when building on and for x86_64-linux.
master
Efraim Flashner 2022-09-01 12:43:27 +03:00
parent d62fc2cc83
commit cef95d4faa
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 8 additions and 4 deletions

View File

@ -22,8 +22,9 @@
(define-module (gnu packages libunwind) (define-module (gnu packages libunwind)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix licenses)) #:use-module (guix licenses))
@ -40,10 +41,13 @@
"0xj9g6a9q7v7zz6lymf3f6011synibgawi4wi384bywid5kfqsja")))) "0xj9g6a9q7v7zz6lymf3f6011synibgawi4wi384bywid5kfqsja"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:make-flags `(;; Two tests are failing with newer toolchains:
;; Two tests are failing with newer toolchains:
;; https://github.com/libunwind/libunwind/issues/363 ;; https://github.com/libunwind/libunwind/issues/363
'("XFAIL_TESTS=run-coredump-unwind run-coredump-unwind-mdi"))) #:make-flags
'("XFAIL_TESTS=run-coredump-unwind run-coredump-unwind-mdi")
;; A different collection of tests fails for each architecture.
#:tests? ,(and (not (%current-target-system))
(target-x86-64?))))
(home-page "https://www.nongnu.org/libunwind") (home-page "https://www.nongnu.org/libunwind")
(synopsis "Determining the call chain of a program") (synopsis "Determining the call chain of a program")
(description (description