summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-10-13 09:36:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-10-13 10:46:23 +0300
commit6c522a53bdb3ef43debe2ca9f13bbc354504e827 (patch)
treea17a2f8045df27d0494e5f373e8d2cdd6eab87e9 /gnu/packages/crates-io.scm
parent3cdcdcf539827819dfb6357e47404cdb4bec268a (diff)
downloadguix-6c522a53bdb3ef43debe2ca9f13bbc354504e827.tar.gz
gnu: rust-tokio-rustls-0.14: Skip network tests.
* gnu/packages/crates-io.scm (rust-tokio-rustls-0.14)[arguments]: Add
cargo-test-flags to skip tests requiring network access.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a317319732..c511567782 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28874,7 +28874,9 @@ futures.")
          "16l8kx3j7i3jxq36qs3hnmys6cd2zqcixc1n0kf3kymwanr32a71"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(;; These tests require network access.
+       #:cargo-test-flags '("--release" "--" "--skip=tls12" "--skip=modern")
+       #:cargo-inputs
        (("rust-bytes" ,rust-bytes-0.5)
         ("rust-futures-core" ,rust-futures-core-0.3)
         ("rust-rustls" ,rust-rustls-0.18)