public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Raits <igor.raits@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fish] f44: Make the tmux-based tests opt-in
Date: Sat, 28 Nov 2026 09:57:38 GMT	[thread overview]
Message-ID: <179585985855.1.14786270913535823503.rpms-fish-53bb96041c8b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/fish
            Branch : f44
            Commit : 53bb96041c8b2ea404236f02897f3319d822b0c1
            Author : Igor Raits <igor.raits@gmail.com>
            Date   : 2026-11-28T10:26:13+01:00
            Stats  : +6/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fish/c/53bb96041c8b2ea404236f02897f3319d822b0c1?branch=f44

            Log:
            Make the tmux-based tests opt-in

- Disable the flaky tmux-based interactive tests by default (--with tmux_tests)

tests/checks/tmux-abbr.fish failed on s390x in the official rawhide
build and in an f44 scratch build, while passing in two earlier scratch
builds on the same arch: the tmux tests race against slow builders.
Keep them available behind a bcond; the backported tmux completion fix
stays, it addresses a real bug.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---
diff --git a/fish.spec b/fish.spec
index c9b6e8a..96d3e6b 100644
--- a/fish.spec
+++ b/fish.spec
@@ -4,6 +4,10 @@
 %dnl %global githash b82d0fcbcc44eb259cf2209b04f7a41c1f324e27
 %dnl %global githashshort %{lua:print(string.sub(rpm.expand('%{githash}'), 1, 11))}
 
+# Interactive tests driven through tmux (tests/checks/tmux-*.fish) are timing-sensitive
+# and flaky on slow builders (e.g. tmux-abbr.fish on s390x); enable with --with tmux_tests
+%bcond_with tmux_tests
+
 # For forked pcre2 crate that includes https://github.com/BurntSushi/rust-pcre2/pull/38
 %global rust_pcre2_fish_tag 0.2.9-utf32
 
@@ -80,8 +84,10 @@ BuildRequires:  procps-ng
 BuildRequires:  rust
 BuildRequires:  glibc-langpack-en
 BuildRequires:  /usr/bin/sphinx-build
+%if %{with tmux_tests}
 # Enables the interactive tests (tests/checks/tmux-*.fish), skipped otherwise
 BuildRequires:  tmux
+%endif
 
 # fish_config and fish_update_completions run Python helpers, which are now
 # embedded in the binary instead of being installed as files

                 reply	other threads:[~2026-11-28  9:57 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=179585985855.1.14786270913535823503.rpms-fish-53bb96041c8b@fedoraproject.org \
    --to=igor.raits@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