[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bkdepimlibs=5D_syndication/tests=3A_syndication=3A_f?=
From:       Olivier Trichet <nive () nivalis ! org>
Date:       2011-06-19 13:53:26
Message-ID: 20110619135326.314F9A60A4 () git ! kde ! org
[Download RAW message or body]

Git commit 8ea9d4a0068e134631a9a4bcf6f1ebddd1274ef4 by Olivier Trichet.
Committed on 19/06/2011 at 14:37.
Pushed by otrichet into branch 'master'.

syndication: fix tests under non C locale

M  +2    -0    syndication/tests/testlibsyndication.cpp     

http://commits.kde.org/kdepimlibs/8ea9d4a0068e134631a9a4bcf6f1ebddd1274ef4

diff --git a/syndication/tests/testlibsyndication.cpp b/syndication/tests/testlibsyndication.cpp
index 72630db..5b20e4d 100644
--- a/syndication/tests/testlibsyndication.cpp
+++ b/syndication/tests/testlibsyndication.cpp
@@ -61,6 +61,8 @@ void printUsage(const QString& error)
 
 int main(int argc, char **argv)
 {
+    setenv("LC_ALL", "C", 1);
+
     KComponentData componentData("testlibsyndication");
     int pcompare = 2;
     if (argc < 2)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic