public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/libavif] epel9-next: enable tests
Date: Mon, 20 Jul 2026 16:37:54 GMT	[thread overview]
Message-ID: <178456547484.1.12657861902096347053.rpms-libavif-0a18fc4c00f5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libavif
Branch : epel9-next
Commit : 0a18fc4c00f50bf9a077ffe5b4e12ff1051c7df0
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date   : 2023-03-18T00:06:34+01:00
Stats  : +9/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libavif/c/0a18fc4c00f50bf9a077ffe5b4e12ff1051c7df0?branch=epel9-next

Log:
enable tests

---
diff --git a/libavif.spec b/libavif.spec
index 2488285..16191ea 100644
--- a/libavif.spec
+++ b/libavif.spec
@@ -7,6 +7,7 @@
 %else
 %bcond_without rav1e
 %endif
+%bcond_without check
 
 Name:           libavif
 Version:        0.11.1
@@ -19,6 +20,7 @@ Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
+%{?with_check:BuildRequires:  gtest-devel}
 BuildRequires:  nasm
 %if %{with aom}
 BuildRequires:  pkgconfig(aom)
@@ -73,12 +75,18 @@ Avif-pixbuf-loader contains a plugin to load AVIF images in GTK+ applications.
     %{?with_rav1e:-DAVIF_CODEC_RAV1E=1} \
     %{?with_svt:-DAVIF_CODEC_SVT=1} \
     -DAVIF_BUILD_APPS=1 \
-    -DAVIF_BUILD_GDK_PIXBUF=1
+    -DAVIF_BUILD_GDK_PIXBUF=1 \
+    %{?with_check:-DAVIF_BUILD_TESTS=1 -DAVIF_ENABLE_GTEST=1}
 %cmake_build
 
 %install
 %cmake_install
 
+%if %{with check}
+%check
+%ctest
+%endif
+
 %files
 %license LICENSE
 # Do not glob the soname

                 reply	other threads:[~2026-07-20 16:37 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=178456547484.1.12657861902096347053.rpms-libavif-0a18fc4c00f5@fedoraproject.org \
    --to=dominik@greysector.net \
    --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