Blender Git Loki

Git Commits -> Revision 18627a3

Revision 18627a3 by Sergey Sharybin (cycles_ctests)
January 21, 2015, 20:36 (GMT)
Tests: Add render tests for Cycles

The idea is to use the set of really small images from the lib folder
and run Cycles render on them comparing render output to reference
images in the tests repository.

For sure same thing could become more generic for BI or Freestyle
render engines.

This is not totally easy to use at this moment, basically because of
a bit of voodoo mango jambo black magic happening around how we are
dealing with addons for ctests. Main issue is that blender loads all
the scripts from the source directory, meaning it can't pick cycles
up.

Once this is figured out in a clean fashion the branch will be merged
to master. For until then all the tweaks are gonna to be done here.

For now it's possible to set BLENDER_USER_SCRIPTS to the directory
with Cycles addon so it is picked up nicely.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1011

Commit Details:

Full Hash: 18627a337793f8d57fa6561afecf3abc9bc38159
Parent Commit: dda3554
Lines Changed: +111, -0

1 Added Path:

/tests/python/cycles_render_tests.py (+103, -0) (View)

1 Modified Path:

/tests/python/CMakeLists.txt (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021