Skip to content
Permalink
Browse files

Run tests from root of build folder to avoid adding empty mapscript m…

…odule from working directory
  • Loading branch information...
geographika committed Jun 27, 2018
1 parent 7553209 commit 38d269945e2aac7d9ed3b226531feec21ce502f2
Showing with 3 additions and 2 deletions.
  1. +3 −2 appveyor.yml
@@ -51,7 +51,8 @@ test_script:
- set PATH=%BUILD_FOLDER%/build/Release;%BUILD_FOLDER%/sdk/%SDK%/bin;%PATH%
- set PROJ_LIB=%BUILD_FOLDER%/sdk/%SDK%/bin/proj/SHARE
- set PYTHONPATH=%BUILD_FOLDER%/build/mapscript/python/Release;%BUILD_FOLDER%/build/mapscript/python
- cd %BUILD_FOLDER%/mapscript/python
- "%PYTHON_EXECUTABLE% -m pytest --ignore=tests/cases/fonttest.py --ignore=tests/cases/hashtest.py --ignore=tests/cases/pgtest.py --ignore=tests/cases/threadtest.py tests/cases"
- cd %BUILD_FOLDER%
- set TESTS_FOLDER=%BUILD_FOLDER%/mapscript/python/tests/cases
- "%PYTHON_EXECUTABLE% -m pytest --ignore=%TESTS_FOLDER%/fonttest.py --ignore=%TESTS_FOLDER%/hashtest.py --ignore=%TESTS_FOLDER%/pgtest.py --ignore=%TESTS_FOLDER%/threadtest.py %TESTS_FOLDER%"

deploy: off

0 comments on commit 38d2699

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