Merge branch 'master' into spirit-x3
This commit is contained in:
commit
ee2277a610
2 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,7 @@ powershell .\scripts\appveyor-system-info.ps1
|
||||||
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
|
||||||
|
|
||||||
::only build on AppVeyor, if explicitly stated
|
::only build on AppVeyor, if explicitly stated
|
||||||
ECHO APPVEYOR_REPO_COMMIT_MESSAGE^: %APPVEYOR_REPO_COMMIT_MESSAGE%
|
ECHO APPVEYOR_REPO_COMMIT_MESSAGE^: "%APPVEYOR_REPO_COMMIT_MESSAGE%"
|
||||||
::SET BUILD_ON_APPVEYOR=0
|
::SET BUILD_ON_APPVEYOR=0
|
||||||
::for /F "tokens=1 usebackq" %%i in (`powershell .\scripts\parse-commit-message.ps1 '[build appveyor]'`) DO SET BUILD_ON_APPVEYOR=%%i
|
::for /F "tokens=1 usebackq" %%i in (`powershell .\scripts\parse-commit-message.ps1 '[build appveyor]'`) DO SET BUILD_ON_APPVEYOR=%%i
|
||||||
::IF %BUILD_ON_APPVEYOR% EQU 0 ECHO not building, commit with [build appveyor] && GOTO DONE
|
::IF %BUILD_ON_APPVEYOR% EQU 0 ECHO not building, commit with [build appveyor] && GOTO DONE
|
||||||
|
|
|
@ -97,6 +97,9 @@ TEST_CASE("shapeindex")
|
||||||
{
|
{
|
||||||
for (bool index_parts : {false, true} )
|
for (bool index_parts : {false, true} )
|
||||||
{
|
{
|
||||||
|
CAPTURE(path);
|
||||||
|
CAPTURE(index_parts);
|
||||||
|
|
||||||
std::string index_path = path.substr(0, path.rfind(".")) + ".index";
|
std::string index_path = path.substr(0, path.rfind(".")) + ".index";
|
||||||
// remove *.index if present
|
// remove *.index if present
|
||||||
if (mapnik::util::exists(index_path))
|
if (mapnik::util::exists(index_path))
|
||||||
|
|
Loading…
Reference in a new issue