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
path: root/tests
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-04-10 11:03:02 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-04-10 11:03:02 +0300
commit90b2b995054d6ecad72283ad2b19da94296981ea (patch)
tree2fb9b4bb7de8149d93026ec4e7afe7864b6557a9 /tests
parent29c738258b5771b9f56a02b0ba10514cf1e5fb10 (diff)
Unitettesting: Force python errors to show as error
Diffstat (limited to 'tests')
-rw-r--r--tests/python/render_layer/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/python/render_layer/CMakeLists.txt b/tests/python/render_layer/CMakeLists.txt
index 251a1d1d016..97630bfd972 100644
--- a/tests/python/render_layer/CMakeLists.txt
+++ b/tests/python/render_layer/CMakeLists.txt
@@ -54,6 +54,7 @@ macro(RENDER_LAYER_TEST test_name)
# things from render_layer_common.py
add_test(render_layer_${test_name} ${TEST_BLENDER_EXE}
--python-expr "import sys; sys.path.append('${CMAKE_CURRENT_LIST_DIR}')"
+ --python-exit-code 1
--python ${CMAKE_CURRENT_LIST_DIR}/test_${test_name}.py --
--testdir="${TEST_SRC_DIR}/layers"
)