public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-rustyline] epel9: Skip a test for exact struct size that fails on 32-bit architectures
Date: Thu, 24 Sep 2026 23:38:52 GMT	[thread overview]
Message-ID: <179029313238.1.9314084437447946527.rpms-rust-rustyline-f2dd0b578c6d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-rustyline
Branch : epel9
Commit : f2dd0b578c6deefc86e8dc67b31ad527f6fbc76b
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2023-10-22T16:46:54+02:00
Stats  : +11/-3 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-rustyline/c/f2dd0b578c6deefc86e8dc67b31ad527f6fbc76b?branch=epel9

Log:
Skip a test for exact struct size that fails on 32-bit architectures

---
diff --git a/rust-rustyline.spec b/rust-rustyline.spec
index 8eddabf..2cc66c0 100644
--- a/rust-rustyline.spec
+++ b/rust-rustyline.spec
@@ -254,7 +254,9 @@ use the "with-sqlite-history" feature of the "%{crate}" crate.
 
 %if %{with check}
 %check
-%cargo_test
+# * skip test for exact struct size that fails on 32-bit architectures:
+#   https://github.com/kkawakam/rustyline/issues/740
+%cargo_test -- -- --exact --skip binding::test::size_of_event
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
index c9a9cde..dd982fb 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,2 +1,8 @@
 [package]
 summary = "Readline implementation based on Antirez's Linenoise"
+
+[tests]
+skip = ["binding::test::size_of_event"]
+skip-exact = true
+comments = ["skip test for exact struct size that fails on 32-bit architectures: https://github.com/kkawakam/rustyline/issues/740"]
+

diff --git a/rustyline-fix-metadata-auto.diff b/rustyline-fix-metadata-auto.diff
index 4c71ac0..6ea5849 100644
--- a/rustyline-fix-metadata-auto.diff
+++ b/rustyline-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- rustyline-12.0.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ rustyline-12.0.0/Cargo.toml	2023-10-22T11:30:30.611770+00:00
++++ rustyline-12.0.0/Cargo.toml	2023-10-22T14:45:44.597881+00:00
 @@ -187,25 +187,6 @@
  [target."cfg(unix)".dependencies.utf8parse]
  version = "0.2"

diff --git a/rustyline-fix-metadata.diff b/rustyline-fix-metadata.diff
index 0017655..e2c6175 100644
--- a/rustyline-fix-metadata.diff
+++ b/rustyline-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- rustyline-12.0.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ rustyline-12.0.0/Cargo.toml	2023-10-22T11:31:10.806949+00:00
++++ rustyline-12.0.0/Cargo.toml	2023-10-22T14:46:25.423057+00:00
 @@ -115,9 +115,8 @@
  optional = true
  

                 reply	other threads:[~2026-09-24 23:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179029313238.1.9314084437447946527.rpms-rust-rustyline-f2dd0b578c6d@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox