[packages/sqlite3] Restore test suite
arekm
arekm at pld-linux.org
Wed Jul 22 09:31:29 CEST 2026
commit 2813d4dff8feeeef3f96892cf86d1b77b97634d2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jul 22 09:31:16 2026 +0200
Restore test suite
sqlite3.spec | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/sqlite3.spec b/sqlite3.spec
index 7f56a42..3d4d573 100644
--- a/sqlite3.spec
+++ b/sqlite3.spec
@@ -1,10 +1,8 @@
# TODO:
-# - some tests fail with tcl8.5, it's tcl fault,
-# if someone REALLY cares (s)he can look into it
# - sqlite binary is linked statically with sqlite library
#
# Conditional build:
-%bcond_with tests # run tests
+%bcond_without tests # run tests
%bcond_with readline # readline (GPL) instead of libedit
%bcond_without tcl # Tcl extension
%bcond_without unlock_notify # disable unlock notify API
@@ -13,10 +11,6 @@
%bcond_without json # json functions
%bcond_without static_libs # static library
-%ifarch %{x8664}
-%undefine with_tests
-%endif
-
# disabling tcl currently breaks making test target,
# some hack in Makefile needs to be done
%if %{without tcl}
@@ -306,7 +300,9 @@ append-libs "-ldl"
%{__make}
-%{?with_tests:LC_ALL=C %{__make} test}
+# "make test" is the heavy multi-config mdevtest; "testrunner" runs veryquick on our single build,
+# one process per test file (plain in-process veryquick leaks a global log callback -> spurious failures)
+%{?with_tests:LC_ALL=C %{__make} testrunner}
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sqlite3.git/commitdiff/2813d4dff8feeeef3f96892cf86d1b77b97634d2
More information about the pld-cvs-commit
mailing list