public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bear] epel10: Enable unit tests & add optional test dependencies
@ 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 : b142593a7873ae5b5e5c713b2f09aa3b981350af
Author : Dan Čermák <dan.cermak@cgc-instruments.com>
Date   : 2021-11-06T07:58:55+01:00
Stats  : +7/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bear/c/b142593a7873ae5b5e5c713b2f09aa3b981350af?branch=epel10

Log:
Enable unit tests & add optional test dependencies

---
diff --git a/bear.spec b/bear.spec
index e97cfc2..548cdd9 100644
--- a/bear.spec
+++ b/bear.spec
@@ -21,8 +21,13 @@ BuildRequires:  pkgconfig(protobuf)
 BuildRequires:  pkgconfig(grpc++)
 BuildRequires:  python3
 
-# Needed for (disabled) functional tests
+# Needed for functional tests
 BuildRequires:  python3dist(lit)
+BuildRequires:  /usr/bin/more
+BuildRequires:  /usr/bin/xargs
+BuildRequires:  gcc-fortran
+BuildRequires:  valgrind
+BuildRequires:  fakeroot
 
 # 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
@@ -44,7 +49,7 @@ for f in $(ls test/bin/); do
 done
 
 # Functional tests are broken for some unknown reason, disable for now.
-%cmake -DENABLE_FUNC_TESTS=ON
+%cmake -DENABLE_FUNC_TESTS=ON -DENABLE_UNIT_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: Enable unit tests & add optional test dependencies 

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