Browse Source

GEODATA/TOOLS: Fix fr/290.txt encoding and add file encoding check to the continuous integration script.

pull/567/head
Philippe Liard 15 years ago
committed by Mihaela Rosca
parent
commit
b8acd0d403
2 changed files with 8 additions and 5 deletions
  1. +5
    -5
      resources/geocoding/fr/290.txt
  2. +3
    -0
      tools/script/continuous-integration.sh

+ 5
- 5
resources/geocoding/fr/290.txt View File

@ -14,11 +14,11 @@
# Generated from:
# http://www.itu.int/oth/T02020000AF/en [2011-03-17]
# http://fr.wikipedia.org/wiki/Sainte-Hélène,_Ascension_et_Tristan_da_Cunha [439804774]
# http://fr.wikipedia.org/wiki/Sainte-Hélène,_Ascension_et_Tristan_da_Cunha [439804774]
2902|Jamestown
2903|Sainte-Hélène
2904|Sainte-Hélène
2906|Sainte-Hélène
2907|Sainte-Hélène
2903|Sainte-Hélène
2904|Sainte-Hélène
2906|Sainte-Hélène
2907|Sainte-Hélène
2908|Tristan da Cunha

+ 3
- 0
tools/script/continuous-integration.sh View File

@ -19,6 +19,9 @@
# Countinuous integration script that tests the different versions and
# configurations of libphonenumber.
# Check geocoding resource files encoding.
(find resources/geocoding -type f | xargs file | egrep -v 'UTF-8|ASCII') && exit 1
# Test the C++ version with the provided CMake parameter.
test_cpp_version() {
CMAKE_FLAGS="$1"


Loading…
Cancel
Save