[neon/extras/kraft/Neon/release] debian: use de_DE.utf8 locale for running the tests
Pino Toscano
null at kde.org
Wed Oct 4 11:17:06 BST 2023
Git commit a1fb85c69e418d206e82b4f215e85fb2262a8815 by Pino Toscano.
Committed on 17/09/2023 at 04:54.
Pushed by jriddell into branch 'Neon/release'.
use de_DE.utf8 locale for running the tests
M +3 -0 debian/changelog
M +1 -0 debian/control
M +1 -1 debian/rules
https://invent.kde.org/neon/extras/kraft/-/commit/a1fb85c69e418d206e82b4f215e85fb2262a8815
diff --git a/debian/changelog b/debian/changelog
index a0883e4..0188e7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ kraft (1.1-0r1) UNRELEASED; urgency=medium
patch cmake-fix-without-git.diff
- create a ".tag" file for the cmake run, since apparently the build system
assumes it is there (while it is not) in case .git is not present
+ * Try to make the tests pass:
+ - add the locales-all build dependency
+ - run tests using the de_DE.utf8 locale
-- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org> Sun, 17 Sep 2023 03:50:07 +0200
diff --git a/debian/control b/debian/control
index 79ef61d..bd54766 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,7 @@ Build-Depends: debhelper-compat (= 13),
asciidoctor,
po4a,
libqt5sql5-sqlite <!nocheck>,
+ locales-all <!nocheck>,
xauth <!nocheck>,
xvfb <!nocheck>,
Standards-Version: 4.6.2
diff --git a/debian/rules b/debian/rules
index a77371d..8a70b29 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,4 +14,4 @@ override_dh_auto_configure:
rm .tag
override_dh_auto_test:
- xvfb-run -a env KRAFT_HOME="$(CURDIR)" dh_auto_test --no-parallel
+ xvfb-run -a env KRAFT_HOME="$(CURDIR)" LC_ALL=de_DE.utf8 dh_auto_test --no-parallel
More information about the Neon-commits
mailing list