guix-commits
[Top][All Lists]
Advanced

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

132/276: gnu: rust-test-case-1: Update to 1.2.3.


From: guix-commits
Subject: 132/276: gnu: rust-test-case-1: Update to 1.2.3.
Date: Wed, 18 Oct 2023 04:49:44 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 740b9f1608a0675ce3d708d92cbc558923f26496
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 09:59:18 2023 +0300

    gnu: rust-test-case-1: Update to 1.2.3.
    
    * gnu/packages/crates-io.scm (rust-test-case-1): Update to 1.2.3.
    [arguments]: Don't skip tests. Add cargo-test-flags.
    [cargo-development-inputs]: Add rust-indexmap-1.7, rust-itertools-0.10.
    Replace rust-insta-0.12 with 0.16.
---
 gnu/packages/crates-io.scm | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f1918f86a..b2695d869f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69958,23 +69958,32 @@ into mod, giving clear and readable test results.")
   (package
     (inherit rust-test-case-2)
     (name "rust-test-case")
-    (version "1.0.0")
+    (version "1.2.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "test-case" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1j33njgyr4cjhil14va909sg8s6ahzpgcmiaigdg7g22ica6950r"))))
+        (base32 "0siwpm8g40g5gcvwcn6g4iq0bdhm6lb3dq6wcspfhhsb814g1rg9"))))
     (arguments
-     `(#:tests? #false               ;XXX: a single test fails, cannot skip it
+     `(#:cargo-test-flags
+       '("--release" "--"
+         ;; Not all files included.
+         "--skip=acceptance::async_tests"
+         "--skip=acceptance::hamcrest_assertions"
+         "--skip=acceptance::basic"
+         "--skip=acceptance::allow_result_check"
+         "--skip=acceptance::return_check")
        #:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1)
         ("rust-version-check" ,rust-version-check-0.9))
        #:cargo-development-inputs
-       (("rust-insta" ,rust-insta-0.12)
+       (("rust-indexmap" ,rust-indexmap-1.7)
+        ("rust-insta" ,rust-insta-0.16)
+        ("rust-itertools" ,rust-itertools-0.10)
         ("rust-lazy-static" ,rust-lazy-static-1))))))
 
 (define-public rust-test-case-core-3



reply via email to

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