public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bear] epel10: Re-enable functional tests
@ 2026-07-11  2:31 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-07-11  2:31 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-07-11  2:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-11  2:31 [rpms/bear] epel10: Re-enable functional tests 

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