aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml3
-rw-r--r--test/unit/CMakeLists.txt2
2 files changed, 4 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 70d9b1e9..d7a91bef 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -43,6 +43,7 @@ test_script:
- if "%BUILD_TYPE%" == "nmake" set PROJ_LIB=C:\PROJ\SHARE
- if "%BUILD_TYPE%" == "nmake" mkdir %PROJ_LIB%\tests
- if "%BUILD_TYPE%" == "nmake" copy nad\tests\*.* %PROJ_LIB%\tests
+ - set CURDIR=%CD%
- cd %PROJ_LIB%
- curl -O http://download.osgeo.org/proj/proj-datumgrid-1.7.zip
- 7z e -aoa -y proj-datumgrid-1.7.zip
@@ -57,5 +58,7 @@ test_script:
- echo "Contents of PROJ_LIB " %PROJ_LIB%
- dir %PROJ_LIB%
- gie.exe ..\test\gie\*.gie ..\test\gigs\*.gie
+ - cd %CURDIR%
+ - if "%BUILD_TYPE%" == "cmake" ctest -C Release
deploy: off
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt
index 64fbede0..c9aa8741 100644
--- a/test/unit/CMakeLists.txt
+++ b/test/unit/CMakeLists.txt
@@ -10,4 +10,4 @@ set_target_properties(basic_test
add_test( NAME basic_test
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test
- COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/basic_test )
+ COMMAND basic_test )