Changeset View
Changeset View
Standalone View
Standalone View
tests/python/collada/CMakeLists.txt
| Show All 30 Lines | |||||
| # if(NOT IS_DIRECTORY ${TEST_SRC_DIR}) | # if(NOT IS_DIRECTORY ${TEST_SRC_DIR}) | ||||
| # message(FATAL_ERROR "CMake test directory not found!") | # message(FATAL_ERROR "CMake test directory not found!") | ||||
| # endif() | # endif() | ||||
| # all calls to blender use this | # all calls to blender use this | ||||
| if(APPLE) | if(APPLE) | ||||
| if(${CMAKE_GENERATOR} MATCHES "Xcode") | if(${CMAKE_GENERATOR} MATCHES "Xcode") | ||||
| set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup) | set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --debug-memory --debug-exit-on-error) | ||||
| else() | else() | ||||
| set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --env-system-scripts ${CMAKE_SOURCE_DIR}/release/scripts) | set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --debug-memory --debug-exit-on-error --env-system-scripts ${CMAKE_SOURCE_DIR}/release/scripts) | ||||
| endif() | endif() | ||||
| else() | else() | ||||
| set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --env-system-scripts ${CMAKE_SOURCE_DIR}/release/scripts) | set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --debug-memory --debug-exit-on-error --env-system-scripts ${CMAKE_SOURCE_DIR}/release/scripts) | ||||
| endif() | endif() | ||||
| # for testing with valgrind prefix: valgrind --track-origins=yes --error-limit=no | # for testing with valgrind prefix: valgrind --track-origins=yes --error-limit=no | ||||
| # set(TEST_BLENDER_EXE_BARE ${TEST_BLENDER_EXE}) | # set(TEST_BLENDER_EXE_BARE ${TEST_BLENDER_EXE}) | ||||
| # set(TEST_BLENDER_EXE ${TEST_BLENDER_EXE} ${TEST_BLENDER_EXE_PARAMS} ) | # set(TEST_BLENDER_EXE ${TEST_BLENDER_EXE} ${TEST_BLENDER_EXE_PARAMS} ) | ||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||
| # GENERAL PYTHON CORRECTNESS TESTS | # GENERAL PYTHON CORRECTNESS TESTS | ||||
| Show All 14 Lines | |||||