mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Tests: Run without creating thumbnails by default
This reduces the thumbnails generated by a tests run from about 5k to less than 10. In practice, some tests can still reset this userpreference e.g. by calling `bpy.ops.wm.read_factory_settings()`. Further tweaks are possible should this still be an issue in the future. See also blender/blender#153811 and infrastructure/meta#197 Co-authored-by: Bastien Montagne <bastien@blender.org> Pull Request: https://projects.blender.org/blender/blender/pulls/153817
This commit is contained in:
parent
05b5529790
commit
986ffa3aee
2 changed files with 17 additions and 1 deletions
|
|
@ -52,6 +52,7 @@ function(add_blender_test testname)
|
|||
""
|
||||
"${TEST_BLENDER_EXE}"
|
||||
${TEST_BLENDER_EXE_PARAMS}
|
||||
"${TEST_BLENDER_EXE_PARAMS_NO_THUMB}"
|
||||
${ARGN}
|
||||
)
|
||||
endfunction()
|
||||
|
|
@ -66,6 +67,7 @@ function(add_blender_test_allow_error testname)
|
|||
""
|
||||
"${TEST_BLENDER_EXE}"
|
||||
${EXE_PARAMS}
|
||||
"${TEST_BLENDER_EXE_PARAMS_NO_THUMB}"
|
||||
${ARGN}
|
||||
)
|
||||
endfunction()
|
||||
|
|
@ -125,6 +127,7 @@ if(WITH_UI_TESTS)
|
|||
-p 0 0 800 600
|
||||
--gpu-backend ${backend}
|
||||
"${EXE_PARAMS}"
|
||||
"${TEST_BLENDER_EXE_PARAMS_NO_THUMB}"
|
||||
"${ARGN}"
|
||||
)
|
||||
endfunction()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue