diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-03 09:59:18 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:36:04 +0300 |
commit | 740b9f1608a0675ce3d708d92cbc558923f26496 (patch) | |
tree | c5cc0be78527b3ff239f8db9651aede1255b1941 /gnu/packages | |
parent | d176d82d9e889cddd9bbedd52b6400b845784741 (diff) | |
download | guix-740b9f1608a0675ce3d708d92cbc558923f26496.tar.gz |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 17 |
1 files 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 |