From cff5dd526edebd8aefa4405e7a9ddf7914fd79fc Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 5 Jan 2020 22:55:01 +0100 Subject: 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. --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'appveyor.yml') 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 -- cgit v1.2.3