[Bf-blender-cvs] [e7b5bbae6a1] master: Cycles tests: Add baking features tests
Sergey Sharybin
noreply at git.blender.org
Tue Sep 12 13:22:21 CEST 2017
Commit: e7b5bbae6a1594f6e21a5734cdc7e6e4e2e43eb6
Author: Sergey Sharybin
Date: Tue Sep 12 16:22:02 2017 +0500
Branches: master
https://developer.blender.org/rBe7b5bbae6a1594f6e21a5734cdc7e6e4e2e43eb6
Cycles tests: Add baking features tests
===================================================================
M tests/python/CMakeLists.txt
M tests/python/cycles_render_tests.py
===================================================================
diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt
index 516284178a5..7e42f36c6e4 100644
--- a/tests/python/CMakeLists.txt
+++ b/tests/python/CMakeLists.txt
@@ -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)
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py
index 2bdadced80f..fde0b6bdcba 100755
--- a/tests/python/cycles_render_tests.py
+++ b/tests/python/cycles_render_tests.py
@@ -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,
More information about the Bf-blender-cvs
mailing list