guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: rust-v-htmlescape-0.15: Only run tests on some architectures


From: guix-commits
Subject: 01/04: gnu: rust-v-htmlescape-0.15: Only run tests on some architectures.
Date: Wed, 13 Dec 2023 02:50:49 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit b79b8ca12795ff6069220f733c15354e89207652
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Dec 10 22:21:52 2023 +0200

    gnu: rust-v-htmlescape-0.15: Only run tests on some architectures.
    
    * gnu/packages/crates-io.scm (rust-v-htmlescape-0.15)[arguments]: Skip
    tests when building not for an x86 system.
    
    Change-Id: I6fbb7c414b016d3b71bda7634790c23e93d33529
---
 gnu/packages/crates-io.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30bc4746de..298cbc5bad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -86041,7 +86041,12 @@ a part of rav1e.")
                 "135inp4x7cc32k0hzrymlz1baf0rj0ah5h82nrpa9w0hqpxmg0jf"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-buf-min" ,rust-buf-min-0.7))))
+     ;; The tests assume x86_64 or i686 architecture.
+     ;; https://github.com/zzau13/v_escape/issues/55
+     ;; https://github.com/zzau13/v_escape/pull/123
+     `(#:tests? ,(and (not (%current-target-system))
+                      (target-x86?))
+       #:cargo-inputs (("rust-buf-min" ,rust-buf-min-0.7))))
     (home-page "https://github.com/botika/v_escape";)
     (synopsis "Simd optimized HTML escaping code")
     (description "This package provides simd optimized HTML escaping code.")



reply via email to

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