guix-commits
[Top][All Lists]
Advanced

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

02/15: gnu: stress-ng: Disable tests when cross-compiling.


From: guix-commits
Subject: 02/15: gnu: stress-ng: Disable tests when cross-compiling.
Date: Wed, 6 Nov 2024 05:52:07 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit b6487f8d5a4735d73e2a9730652ea5a4d777b776
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 6 11:36:18 2024 +0200

    gnu: stress-ng: Disable tests when cross-compiling.
    
    * gnu/packages/admin.scm (stress-ng)[arguments]: Also disable the tests
    when cross-compiling.
    
    Change-Id: If417d3a0379e6345902536c9a5bdef7afde6f18d
---
 gnu/packages/admin.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 88d68a3afc..c6a2a33a03 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -9,7 +9,7 @@
 ;;; Copyright © 2016, 2017, 2020 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
 ;;; Copyright © 2016, 2017, 2023 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2016-2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016-2024 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Peter Feigl <peter.feigl@nexoid.at>
 ;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
 ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
@@ -2622,7 +2622,8 @@ system is under heavy load.")
      ;; XXX The test suite seems to cause instability on the VisionFive 2
      ;; build machines, maybe it's stressing them as intended but this is
      ;; unhelpful.
-     (list #:tests? (not (target-riscv64?))
+     (list #:tests? (and (not (%current-target-system))
+                         (not (target-riscv64?)))
            #:make-flags
            #~(list (string-append "CC=" #$(cc-for-target))
                    (string-append "BINDIR=" #$output "/bin")



reply via email to

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