Appveyor tests aren't using Python 3 #213
I am currently working on modularization. But the tests fail on Windows! It seems when the test Makefiles invoke the gcovr script, it is using this
So gcovr was installed using Python 3, but we try to run it under Python 2 :/
And indeed, the appveyor.yml selects the Python version through an env variable:
environment: matrix: - PYTHON: C:\Python27\python.exe - PYTHON: C:\Python36-x64\python.exe
In the Makefile, the script is invoked like this, without using that env variable:
I assume the tests should be updated to explicitly run the selected Python, e.g.
PYTHON ?= python xml: $(PYTHON) ../../../scripts/gcovr -d -x -o coverage.xml
The text was updated successfully, but these errors were encountered:
I wanted to get some coverage information for gcovr itself and for that, starting moving things around a bit. I just ran into an issue with python 3.6 on Windows which has no reason to be a result of my work and is probably a pre-existing issue, thus confirming your analysis.