Blender Git Statistics -> Branches -> temp-D7478-unittest-python-exe

"Temp-d7478-unittest-python-exe" branch

Total commits : 3
Total committers : 1
First Commit : April 10, 2020
Latest Commit : April 17, 2020


Commits by Date

DateNumber of Commits
April 17, 20202
April 16, 20200
April 15, 20200
April 14, 20200
April 13, 20200
April 12, 20200
April 11, 20200
April 10, 20201

Committers

AuthorNumber of Commits
Sybren A. Stüvel3

Popular Files

FilenameTotal Edits
CMakeLists.txt2
CMakeLists.txt2
cycles_render_tests.py1
alembic_tests.py1
opengl_draw_tests.py1
ffmpeg_tests.py1
eevee_render_tests.py1
workbench_render_tests.py1
CMakeLists.txt1

Latest commits Feed

April 17, 2020, 10:45 (GMT)
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.
April 17, 2020, 10:40 (GMT)
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.
April 10, 2020, 15:10 (GMT)
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

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021