guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: rust: Fix test setup.


From: guix-commits
Subject: 02/02: gnu: rust: Fix test setup.
Date: Thu, 28 Mar 2019 19:50:42 -0400 (EDT)

dannym pushed a commit to branch master
in repository guix.

commit 586d30caa2fb6372ab991f4284e92b19ebf15878
Author: Danny Milosavljevic <address@hidden>
Date:   Fri Mar 29 00:43:10 2019 +0100

    gnu: rust: Fix test setup.
    
    * gnu/packages/rust.scm (rust-1.30)[arguments]<#:phases>
    [disable-amd64-avx-test]: Replace.
    (rust)[arguments]<#:phases>[disable-amd64-avx-test]: Replace.
---
 gnu/packages/rust.scm | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index bdb8d5f..5151cac 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -877,7 +877,13 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
                    ;; these for now
                    (("fn include") "#[ignore]\nfn include")
                    (("fn exclude") "#[ignore]\nfn exclude"))
-                   #t)))))))))
+                   #t))
+             ;; The test has been moved elsewhere.
+             (replace 'disable-amd64-avx-test
+               (lambda _
+                 (substitute* "src/test/ui/run-pass/issues/issue-44056.rs"
+                  (("only-x86_64") "ignore-test"))
+                  #t)))))))))
 
 (define-public rust
   (let ((base-rust
@@ -908,6 +914,12 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
                      ((" Command::new\\(\"echo\"\\)")
                       (string-append "\nCommand::new(\"" coreutils 
"/bin/echo\")\n")))
                    #t)))
+              ;; The test has been moved elsewhere.
+              (replace 'disable-amd64-avx-test
+                (lambda _
+                  (substitute* "src/test/ui/issues/issue-44056.rs"
+                   (("only-x86_64") "ignore-test"))
+                  #t))
              (add-after 'patch-tests 'patch-process-docs-rev-cmd
                (lambda* _
                  ;; Disable some doc tests which depend on the "rev" command



reply via email to

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