http://www.miikahweb.com/feed.php MiikaHweb - Blender Temp-D7478-unittest-python-exe Branch http://www.miikahweb.com/ MiikaHweb - Blender Temp-D7478-unittest-python-exe Branch fi Fri, 22 Jan 21 10:50:05 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[2da2527]: Tests: On Linux, use Python from install dir]]> http://www.miikahweb.com/en/blender/git-logs/commit/2da252735061094367ddc70e0521f3f8ef90abb1 2da2527
Branches : temp-D7478-unittest-python-exe
Author : Sybren A. Stüvel (sybren)
----------------------------------------
Tests: On Linux, use Python from install dir

CentOS on the buildbot still runs Python 3.6, which is also used for the
unit tests. This means that the tests can't use language features that
are available to Blender itself. And testing with a different version of
Python than will be used by the actual code seems like a bad idea to me.

This commit tries to find Python in the installation directory, which
will not be there on the first time CMake is run, so it also tries to
find it in the precompiled libraries. If that also fails, it defaults to
whichever Python executable CMake finds.

Differential Revision: https://developer.blender.org/D7395

----------------------------------------
2 Paths Changed]]>
Fri, 10 Apr 2020 15:10:02 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2da252735061094367ddc70e0521f3f8ef90abb1Sybren A. Stüvel
<![CDATA[[4b28cb4]: Remove the ability of `add_python_test()` to run without `TEST_PYTHON_EXE...]]> http://www.miikahweb.com/en/blender/git-logs/commit/4b28cb44d59509840a5250f62d0fa85ae7174052 4b28cb4
Branches : temp-D7478-unittest-python-exe
Author : Sybren A. Stüvel (sybren)
----------------------------------------
Remove the ability of `add_python_test()` to run without `TEST_PYTHON_EXE`

Every platform should now have a value (configured by the user or detected
by CMake) for `TEST_PYTHON_EXE`, so there is no need to allow running
without. This also removes the need to have some Python files marked
as executable.

----------------------------------------
7 Paths Changed]]>
Fri, 17 Apr 2020 10:45:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/4b28cb44d59509840a5250f62d0fa85ae7174052Sybren A. Stüvel
<![CDATA[[65df39b]: Add `TEST_PYTHON_EXE` as advanced CMake option, and default...]]> http://www.miikahweb.com/en/blender/git-logs/commit/65df39b9ce032b300eba33010702b2bd7fedfa92 65df39b
Branches : temp-D7478-unittest-python-exe
Author : Sybren A. Stüvel (sybren)
----------------------------------------
Add `TEST_PYTHON_EXE` as advanced CMake option, and default to `${PYTHON_EXECUTABLE}` on macOS/Linux. The default value on Windows remains the Python from the installation directory.

----------------------------------------
2 Paths Changed]]>
Fri, 17 Apr 2020 10:40:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/65df39b9ce032b300eba33010702b2bd7fedfa92Sybren A. Stüvel