public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-glib-sys] rawhide: Disable brittle auto-generated tests
@ 2026-06-18 19:55 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-18 19:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-glib-sys
Branch : rawhide
Commit : bb2d3546c836e55e78af64600430353fca92a054
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-06-18T21:53:24+02:00
Stats  : +9/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-glib-sys/c/bb2d3546c836e55e78af64600430353fca92a054?branch=rawhide

Log:
Disable brittle auto-generated tests

---
diff --git a/rust-glib-sys.spec b/rust-glib-sys.spec
index ef6e0fc..e61366a 100644
--- a/rust-glib-sys.spec
+++ b/rust-glib-sys.spec
@@ -1,5 +1,7 @@
 # Generated by rust2rpm 28
-%bcond check 1
+# * tests generated by "gir" only work reliably when running with the same
+#   library version that was used when generating the tests
+%bcond check 0
 %global debug_package %{nil}
 
 %global crate glib-sys

diff --git a/rust2rpm.toml b/rust2rpm.toml
index f2b5d3f..5017bd1 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,9 @@
+[tests]
+run = false
+comments = [
+    "tests generated by \"gir\" only work reliably when running with the same library version that was used when generating the tests",
+]
+
 [features]
 hide = [
     "v2_90",

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

only message in thread, other threads:[~2026-06-18 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 19:55 [rpms/rust-glib-sys] rawhide: Disable brittle auto-generated tests Fabio Valentini

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