[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:29:42 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=f071536
The following commit has been merged in the master branch:
commit f071536649704b5cba3d8d4f4b34a0b09aeb1a02
Author: Harald Sitter <sitter at kde.org>
Date: Wed Jun 1 10:39:13 2016 +0200
force a lc_time to make sure the dummyTest passes
if the system locale is not en_US longMonthName might produce a localized
string, failing the qcompare.
REVIEW: 128067
---
tests/networkpackagetests.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/networkpackagetests.cpp b/tests/networkpackagetests.cpp
index 0ef4ec2..8b660ee 100644
--- a/tests/networkpackagetests.cpp
+++ b/tests/networkpackagetests.cpp
@@ -24,6 +24,13 @@
#include <QtTest>
+static void initEnv()
+{
+ // Force LC_TIME=C to make sure longMonthName returns as en_US.
+ setenv("LC_TIME", "C", 1);
+}
+Q_CONSTRUCTOR_FUNCTION(initEnv)
+
QTEST_GUILESS_MAIN(NetworkPackageTests);
void NetworkPackageTests::initTestCase()
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list