Cycles tests: Add baking features tests
This commit is contained in:
parent
4aee701f00
commit
e7b5bbae6a
@ -534,6 +534,7 @@ if(WITH_CYCLES)
|
||||
if(WITH_OPENGL_TESTS)
|
||||
add_cycles_render_test(opengl)
|
||||
endif()
|
||||
add_cycles_render_test(bake)
|
||||
add_cycles_render_test(denoise)
|
||||
add_cycles_render_test(displacement)
|
||||
add_cycles_render_test(image_data_types)
|
||||
|
@ -77,6 +77,22 @@ def render_file(filepath):
|
||||
'--python', os.path.join(basedir,
|
||||
"util",
|
||||
"render_opengl.py")]
|
||||
elif subject == 'bake':
|
||||
command = [
|
||||
BLENDER,
|
||||
"-b",
|
||||
"-noaudio",
|
||||
"--factory-startup",
|
||||
"--enable-autoexec",
|
||||
filepath,
|
||||
"-E", "CYCLES"]
|
||||
command += custom_args
|
||||
command += [
|
||||
"-o", TEMP_FILE_MASK,
|
||||
"-F", "PNG",
|
||||
'--python', os.path.join(basedir,
|
||||
"util",
|
||||
"render_bake.py")]
|
||||
else:
|
||||
command = [
|
||||
BLENDER,
|
||||
|
Loading…
Reference in New Issue
Block a user