aboutsummaryrefslogtreecommitdiff
path: root/test/unit/main.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2018-11-15 10:12:17 +0100
committerGitHub <noreply@github.com>2018-11-15 10:12:17 +0100
commit4ad1477c24c3da4be6c7962606e6f9d47336b6a3 (patch)
treeeb4ca374b50ab3c1183a25ac264245c7b4fd681b /test/unit/main.cpp
parent73865a4df1a7d4c37052647f0458567751735f00 (diff)
parentd928db15d53805d9b728b440079756081961c536 (diff)
downloadPROJ-4ad1477c24c3da4be6c7962606e6f9d47336b6a3.tar.gz
PROJ-4ad1477c24c3da4be6c7962606e6f9d47336b6a3.zip
Merge pull request #1175 from rouault/iso19111_for_merge
Implement RFC 2: Initial integration of "GDAL SRS barn" work
Diffstat (limited to 'test/unit/main.cpp')
-rw-r--r--test/unit/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/main.cpp b/test/unit/main.cpp
index ffa95e03..f24a7aa6 100644
--- a/test/unit/main.cpp
+++ b/test/unit/main.cpp
@@ -26,9 +26,14 @@
* DEALINGS IN THE SOFTWARE.
****************************************************************************/
+#include <locale>
+
#include "gtest_include.h"
GTEST_API_ int main(int argc, char **argv) {
+ // Use a potentially non-C locale to make sure we are robust
+ setlocale(LC_ALL, "");
+
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}