public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jss] pqc: Disable unit tests by default
@ 2026-07-28 16:48 Endi S. Dewata
0 siblings, 0 replies; only message in thread
From: Endi S. Dewata @ 2026-07-28 16:48 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jss
Branch : pqc
Commit : d09d72c0f6f0226350a793faf1782514a0a59810
Author : Endi S. Dewata <edewata@redhat.com>
Date : 2021-05-26T18:20:35-05:00
Stats : +13/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/jss/c/d09d72c0f6f0226350a793faf1782514a0a59810?branch=pqc
Log:
Disable unit tests by default
---
diff --git a/jss.spec b/jss.spec
index 6bf6884..e65db2b 100644
--- a/jss.spec
+++ b/jss.spec
@@ -29,6 +29,15 @@ Source: https://github.com/dogtagpki/%{name}/archive/v%{version}%{?_phas
# Patch: jss-VERSION-RELEASE.patch
################################################################################
+# Build Options
+################################################################################
+
+# By default the build will not execute unit tests unless --with test
+# option is specified.
+
+%bcond_with test
+
+################################################################################
# Build Dependencies
################################################################################
@@ -117,7 +126,10 @@ modutil -dbdir /etc/pki/nssdb -chkfips true | grep -q enabled && export FIPS_ENA
cd %{_vpath_builddir}
%{__make} all
%{__make} javadoc
+
+%if %{with test}
ctest --output-on-failure
+%endif
################################################################################
%install
@@ -162,6 +174,7 @@ cp -p *.txt $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
%changelog
* Wed May 26 2021 Dogtag PKI Team <pki-devel@redhat.com> - 4.9.0-0.2
- Drop git dependency
+- Disable unit tests by default
* Tue May 18 2021 Dogtag PKI Team <pki-devel@redhat.com> - 4.9.0-0.1
- Rebase to JSS 4.9.0-alpha1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-28 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-28 16:48 [rpms/jss] pqc: Disable unit tests by default Endi S. Dewata
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox