mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Tests: Split cycles bake tests to sidestep OSL OptiX timeouts
Compile time here can be long, run bake tests that require shader ray-tracing separately so that these heavy kernels are compiled separate from the others and each category fits within the timeout. Pull Request: https://projects.blender.org/blender/blender/pulls/158770
This commit is contained in:
parent
1074442664
commit
8a99f35a75
6 changed files with 2 additions and 2 deletions
|
|
@ -973,7 +973,7 @@ if((WITH_CYCLES OR WITH_GPU_RENDER_TESTS) AND TEST_SRC_DIR_EXISTS)
|
|||
"Supported devices are: ${_cycles_all_test_devices}")
|
||||
endif()
|
||||
string(TOLOWER "${_cycles_device}" _cycles_device_lower)
|
||||
set(_cycles_render_tests bake;${render_tests};osl;image_mipmap)
|
||||
set(_cycles_render_tests bake;bake_raytrace;${render_tests};osl;image_mipmap)
|
||||
|
||||
set(_cycles_osl_test_type none)
|
||||
if(WITH_CYCLES_OSL)
|
||||
|
|
|
|||
|
|
@ -224,7 +224,7 @@ def get_arguments(filepath, output_filepath, use_hwrt, osl, extra_args):
|
|||
|
||||
args.extend(extra_args)
|
||||
|
||||
if subject == 'bake':
|
||||
if subject.startswith('bake'):
|
||||
args.extend(['--python', os.path.join(basedir, "util", "render_bake.py")])
|
||||
elif subject == 'denoise_animation':
|
||||
args.extend(['--python', os.path.join(basedir, "util", "render_denoise.py")])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue