Skip to content
Permalink
Browse files

osgeo4w: run nightly tests with separate temporary directories

  • Loading branch information
jef-n committed Jul 13, 2015
1 parent 2a7ccca commit 76343859d6a25eda2accda1e98361795d598af46
Showing with 7 additions and 0 deletions.
  1. +7 −0 ms-windows/osgeo4w/package-nightly.cmd
@@ -207,7 +207,13 @@ if exist ..\skiptests goto skiptests

echo RUN_TESTS: %DATE% %TIME%

set oldtemp=%TEMP%
set oldpath=%PATH%

set TEMP=%TEMP%\%PACKAGE%-%ARCH%
if exist %TEMP% rmdir /s /q %TEMP%
mkdir %TEMP%

for %%g IN (%GRASS_VERSIONS%) do (
set path=!path!;%OSGEO4W_ROOT%\apps\grass\grass-%%g\lib
set GISBASE=%OSGEO4W_ROOT%\apps\grass\grass-%%g
@@ -217,6 +223,7 @@ PATH %path%;%BUILDDIR%\output\plugins\%BUILDCONF%
cmake --build %BUILDDIR% --target Nightly --config %BUILDCONF%
if errorlevel 1 echo TESTS WERE NOT SUCCESSFUL.

set TEMP=%oldtemp%
PATH %oldpath%

:skiptests

3 comments on commit 7634385

@nyalldawson

This comment has been minimized.

Copy link
Contributor

@nyalldawson nyalldawson replied Jul 16, 2015

@jef-n You're probably already aware of this, but this change has caused "Access Violation" errors in some of the unit tests for the nightlies. Eg, see http://dash.orfeo-toolbox.org/testDetails.php?test=31608774&build=191179

@jef-n

This comment has been minimized.

Copy link
Member Author

@jef-n jef-n replied Jul 17, 2015

@nyalldawson nope - it's the ogr connection pool. the global instance is destroyed before all references are destroyed - and unrefs then crash. Fixed in 4d681f0.

@nyalldawson

This comment has been minimized.

Copy link
Contributor

@nyalldawson nyalldawson replied Jul 17, 2015

@jef-n ah, makes sense. Thanks for the with you've put into this!

Please sign in to comment.
You can’t perform that action at this time.