public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-zip] f43: Skip a brittle test that checks exact compressed size
@ 2026-06-23  8:40 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-23  8:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-zip
Branch : f43
Commit : ddbb8a01d8f632ded61672ea78a4192eda1a1ba0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-03T21:35:41+01:00
Stats  : +16/-3 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-zip/c/ddbb8a01d8f632ded61672ea78a4192eda1a1ba0?branch=f43

Log:
Skip a brittle test that checks exact compressed size

---
diff --git a/rust-zip.spec b/rust-zip.spec
index c240df6..1db0bd0 100644
--- a/rust-zip.spec
+++ b/rust-zip.spec
@@ -388,7 +388,9 @@ use the "zstd" feature of the "%{crate}" crate.
 %check
 # Extract test data (only) from the GitHub archive
 tar -xzvf '%{SOURCE10}' --strip-components=1 'zip2-%{version}/tests/data/'
-%cargo_test -a
+# * zip_read_streaming_compressed expects a particular compressed size in bytes,
+#   which is too brittle
+%cargo_test -a -- -- --exact --skip read::stream::tests::zip_read_streaming_compressed
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 109f250..c99ba23 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -48,3 +48,14 @@ check.pre = [
     "tar -xzvf '%{SOURCE10}' --strip-components=1 'zip2-%{version}/tests/data/'",
 ]
 
+[tests]
+comments = [
+    """\
+zip_read_streaming_compressed expects a particular compressed size in bytes, \
+which is too brittle
+""",
+]
+skip-exact = true
+skip = [
+    "read::stream::tests::zip_read_streaming_compressed",
+]

diff --git a/zip-fix-metadata-auto.diff b/zip-fix-metadata-auto.diff
index 1a8100f..4f94b1d 100644
--- a/zip-fix-metadata-auto.diff
+++ b/zip-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- zip-8.5.1/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ zip-8.5.1/Cargo.toml	2026-05-20T21:30:12.791436+00:00
++++ zip-8.5.1/Cargo.toml	2026-06-03T20:35:31.475666+00:00
 @@ -275,25 +275,3 @@
  version = "0.4"
  default-features = false

diff --git a/zip-fix-metadata.diff b/zip-fix-metadata.diff
index 09d87b0..186f28b 100644
--- a/zip-fix-metadata.diff
+++ b/zip-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- zip-8.5.1/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ zip-8.5.1/Cargo.toml	2026-05-20T21:30:12.792720+00:00
++++ zip-8.5.1/Cargo.toml	2026-06-03T20:35:31.477061+00:00
 @@ -108,10 +108,6 @@
      "deflate-flate2",
      "flate2/zlib-ng",

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-23  8:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23  8:40 [rpms/rust-zip] f43: Skip a brittle test that checks exact compressed size Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox