public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bear] epel10: Enable unit tests & add optional test dependencies
Date: Sat, 11 Jul 2026 02:31:27 GMT	[thread overview]
Message-ID: <178373708713.1.6100668786006708103.rpms-bear-b142593a7873@fedoraproject.org> (raw)

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

                 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=178373708713.1.6100668786006708103.rpms-bear-b142593a7873@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