Commit: fbe2c3f4227d2f2373e459cb800868f9b8edafda
Author: Ankit Meel
Date:   Mon Mar 29 22:25:52 2021 +0530
Branches: master
https://developer.blender.org/rBfbe2c3f4227d2f2373e459cb800868f9b8edafda

Tests: disable python tests for blender as python module

Avoid CTest errors and exit codes due to test failures which depend
on Blender executable.

Ref T86579
Reviewed By: mont29, campbellbarton
Differential Revision: https://developer.blender.org/D10656

===================================================================

M       tests/CMakeLists.txt

===================================================================

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 8941cc671dd..00883a03174 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -47,7 +47,7 @@ unset(_default_test_python_exe)
 set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup 
--debug-memory --debug-exit-on-error --python-exit-code 1)
 
 # Python CTests
-if(WITH_BLENDER AND WITH_PYTHON)
+if(WITH_BLENDER AND WITH_PYTHON AND NOT WITH_PYTHON_MODULE)
   add_subdirectory(python)
 endif()

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to