guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch staging updated: gnu: libunwind: Disable tests on most architectu


From: guix-commits
Subject: branch staging updated: gnu: libunwind: Disable tests on most architectures.
Date: Thu, 01 Sep 2022 05:47:35 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch staging
in repository guix.

The following commit(s) were added to refs/heads/staging by this push:
     new cef95d4faa gnu: libunwind: Disable tests on most architectures.
cef95d4faa is described below

commit cef95d4faae1bf620ad4f451cf5167d73c041ea4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 1 12:43:27 2022 +0300

    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.
---
 gnu/packages/libunwind.scm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/libunwind.scm b/gnu/packages/libunwind.scm
index 5e690cf21c..ccbe2ec751 100644
--- a/gnu/packages/libunwind.scm
+++ b/gnu/packages/libunwind.scm
@@ -22,8 +22,9 @@
 
 (define-module (gnu packages libunwind)
   #:use-module (guix packages)
-  #:use-module (gnu packages)
   #:use-module (guix download)
+  #:use-module (guix utils)
+  #:use-module (gnu packages)
   #:use-module (guix build-system gnu)
   #:use-module (guix licenses))
 
@@ -40,10 +41,13 @@
                "0xj9g6a9q7v7zz6lymf3f6011synibgawi4wi384bywid5kfqsja"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:make-flags
-       ;; Two tests are failing with newer toolchains:
+     `(;; Two tests are failing with newer toolchains:
        ;; 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";)
     (synopsis "Determining the call chain of a program")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]