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:
authorRay Molenkamp <github@lazydodo.com>2022-08-16 18:48:20 +0300
committerRay Molenkamp <github@lazydodo.com>2022-08-16 18:48:20 +0300
commit8e5d51cfb3040f34dde161e4bad4b7b77db1f58b (patch)
tree733a1354bf81c69660b480f098b435652629f1d4 /tests
parentfdc7aaa8df02c3535145e9f9b267ba6cd3c290c1 (diff)
deps: restore more of creators CMakeLists.txt
Last merge made kind of a mess, and i restored the wrong version previously, should be ok again now. Add working directory for python tests so the cycles test will now pass, which failed previously since idiff could not find its required boost dlls
Diffstat (limited to 'tests')
-rw-r--r--tests/python/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index ca3070b60ad..398920312d4 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -42,6 +42,7 @@ function(add_python_test testname testscript)
add_test(
NAME ${testname}
COMMAND ${TEST_PYTHON_EXE} ${testscript} ${ARGN}
+ WORKING_DIRECTORY $<TARGET_FILE_DIR:blender>
)
set_tests_properties(${testname} PROPERTIES ENVIRONMENT
LSAN_OPTIONS=exitcode=0:$ENV{LSAN_OPTIONS}