diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-12 14:22:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-12 14:22:02 +0300 |
commit | e7b5bbae6a1594f6e21a5734cdc7e6e4e2e43eb6 (patch) | |
tree | 5e51cb308f97014f1e4c206e0ad1ffa16b699041 | |
parent | 4aee701f0028fbf17103a5565d72e05bbfcc8d9f (diff) |
Cycles tests: Add baking features tests
-rw-r--r-- | tests/python/CMakeLists.txt | 1 | ||||
-rwxr-xr-x | tests/python/cycles_render_tests.py | 16 |
2 files changed, 17 insertions, 0 deletions
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, |