public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-rustyline] epel9: Skip a test for exact struct size that fails on 32-bit architectures
@ 2026-09-24 23:38 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-24 23:38 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-24 23:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24 23:38 [rpms/rust-rustyline] epel9: Skip a test for exact struct size that fails on 32-bit architectures Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox