aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-05 22:55:01 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-01-05 23:50:38 +0100
commitcff5dd526edebd8aefa4405e7a9ddf7914fd79fc (patch)
tree75d10eb9111b7f2a72ff611a1d6ae8b5539a8176 /appveyor.yml
parent5be02bf6d1d45ac0d835c138074611843982e9e8 (diff)
downloadPROJ-cff5dd526edebd8aefa4405e7a9ddf7914fd79fc.tar.gz
PROJ-cff5dd526edebd8aefa4405e7a9ddf7914fd79fc.zip
Make sure tests pass if extra grids are present
Should fix the issue reported in https://lists.osgeo.org/pipermail/proj/2020-January/009188.html Some extra north-american grids present in data/ can affect the results of some tests, so create a data/for_tests/ subdirectory in which we copy only select grids.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml
index a631c3e8..6ec0855f 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -41,6 +41,9 @@ build_script:
- if "%platform%" == "x86" SET BUILD_LIBPROJ_SHARED=OFF
- echo "%VS_FULL%"
#
+ - cd %APPVEYOR_BUILD_FOLDER%\data
+ - curl -O https://download.osgeo.org/proj/proj-datumgrid-1.8.zip
+ - 7z e -aoa -y proj-datumgrid-1.8.zip
- set PROJ_BUILD=%APPVEYOR_BUILD_FOLDER%\build
- mkdir %PROJ_BUILD%
- cd %PROJ_BUILD%
@@ -51,9 +54,6 @@ build_script:
test_script:
- echo test_script
- set PROJ_LIB=%PROJ_DIR%\share\proj
- - cd %PROJ_LIB%
- - curl -O https://download.osgeo.org/proj/proj-datumgrid-1.8.zip
- - 7z e -aoa -y proj-datumgrid-1.8.zip
- cd %PROJ_BUILD%
- ctest -V -C Release
- set PATH=%PATH%;%PROJ_DIR%\bin