guix-commits
[Top][All Lists]
Advanced

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

05/06: gnu: libpaper: Skip tests when cross-compiling.


From: guix-commits
Subject: 05/06: gnu: libpaper: Skip tests when cross-compiling.
Date: Fri, 21 Jul 2023 06:23:07 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit c11afc46777bfdf3dc222062cfe3518c0d8a657a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 20 17:44:26 2023 +0300

    gnu: libpaper: Skip tests when cross-compiling.
    
    * gnu/packages/ghostscript.scm (libpaper)[arguments]: Adjust #:tests to
    skip tests when cross-compiling.
---
 gnu/packages/ghostscript.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 2d7f07fb40..502b41bb99 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -93,7 +93,8 @@ Consortium standard (ICC), approved as ISO 15076-1.")
                                  ;; Tests require a relocatable build.
                                  "--enable-relocatable")
            ;; --enable-relocate is broken on the Hurd
-           #:tests? (not (target-hurd?))))
+           #:tests? (not (or (target-hurd?)
+                             (%current-target-system)))))
     (outputs '("out" "debug"))
     (home-page "https://github.com/rrthomas/libpaper";)
     (synopsis "Library for handling paper sizes")



reply via email to

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