[packages/libeconf] Run tests

arekm arekm at pld-linux.org
Tue Apr 2 16:57:00 CEST 2024


commit 2eb3d1499c5ba1d78ef6f222d60b971215932baa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Apr 2 16:21:24 2024 +0200

    Run tests

 libeconf.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/libeconf.spec b/libeconf.spec
index 16b911c..f22f515 100644
--- a/libeconf.spec
+++ b/libeconf.spec
@@ -3,6 +3,7 @@
 %bcond_without	apidocs		# API documentation
 %bcond_without	python		# Python (3.x) binding
 %bcond_without	static_libs	# static libraries
+%bcond_without	tests
 #
 Summary:	Highly flexible library to manage key=value configuration files
 Summary(pl.UTF-8):	Elastyczna biblioteka do zarządzania plikami konfiguracyjnymi klucz=wartość
@@ -102,6 +103,11 @@ EOF
 %if %{with python}
 cd bindings/python3
 %py3_build
+cd ../..
+%endif
+
+%if %{with tests}
+%ninja_test -C build
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libeconf.git/commitdiff/2eb3d1499c5ba1d78ef6f222d60b971215932baa



More information about the pld-cvs-commit mailing list