Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-04-28 14:02:06 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-04-28 14:02:06 +0300
commit8da80e7771fd0a492d24d4527f36e0c405d57380 (patch)
tree2af593d3775937e28b3a7aca61c364f99d05fb22 /tests/CMakeLists.txt
parent2db4a5bb9f00f6ce75cdcf45ac43f50263b80bc6 (diff)
parent6cab53eaaa3abac9778d1c9ab1ac9851bee454a6 (diff)
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index a3d4b2a501e..80d749c7040 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -39,7 +39,8 @@ unset(_default_test_python_exe)
# set(TEST_BLENDER_EXE valgrind --track-origins=yes --error-limit=no ${TEST_BLENDER_EXE})
# Standard Blender arguments for running tests.
-set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup)
+# Specify exit code so that if a Python script error happens, the test fails.
+set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --python-exit-code 1)
# Python CTests
if(WITH_BLENDER AND WITH_PYTHON)