From fbe2c3f4227d2f2373e459cb800868f9b8edafda Mon Sep 17 00:00:00 2001 From: Ankit Meel Date: Mon, 29 Mar 2021 22:25:52 +0530 Subject: [PATCH] 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 --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()