public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bear] epel10: Re-enable functional tests
Date: Sat, 11 Jul 2026 02:31:25 GMT	[thread overview]
Message-ID: <178373708528.1.8857242455496933522.rpms-bear-3d3de76e829a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/bear
Branch : epel10
Commit : 3d3de76e829abb4f342e72d78622e4199f139fef
Author : Dan Čermák <dan.cermak@cgc-instruments.com>
Date   : 2021-09-20T09:21:59+02:00
Stats  : +6/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bear/c/3d3de76e829abb4f342e72d78622e4199f139fef?branch=epel10

Log:
Re-enable functional tests

---
diff --git a/bear.spec b/bear.spec
index 3f43f93..e97cfc2 100644
--- a/bear.spec
+++ b/bear.spec
@@ -22,7 +22,7 @@ BuildRequires:  pkgconfig(grpc++)
 BuildRequires:  python3
 
 # Needed for (disabled) functional tests
-# BuildRequires:  python3dist(lit)
+BuildRequires:  python3dist(lit)
 
 # Work around RHBZ#1959600 (https://github.com/rizsotto/Bear/issues/309), which
 # caused a test failure on s390x. It may only be happenstance that no other
@@ -39,8 +39,12 @@ tooling.
 
 
 %build
+for f in $(ls test/bin/); do
+    sed -i "s|^#\!/usr/bin/env\s\+python\s\?$|#!%{__python3}|" test/bin/$f
+done
+
 # Functional tests are broken for some unknown reason, disable for now.
-%cmake -DENABLE_FUNC_TESTS=OFF
+%cmake -DENABLE_FUNC_TESTS=ON
 %cmake_build
 
 %install

                 reply	other threads:[~2026-07-11  2:31 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=178373708528.1.8857242455496933522.rpms-bear-3d3de76e829a@fedoraproject.org \
    --to=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