Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
This will copy new renders over references renders:
CYCLESTEST_UPDATE=1 ctest -R cycles
|
|
|
|
This is useful for testing with different devices, split kernel, OSL,
impact of integrator settings, etc.
|
|
|
|
This way it's easier to see alpha-channel only images, such as shadow catcher
images on transparent film.
|
|
|
|
Shows new, reference and diff renders, with mouse hover to flip between
new and ref for easy comparison. This generates a report.html in
build_dir/tests/cycles, stored along with the new and diff images.
Differential Revision: https://developer.blender.org/D2770
|
|
Works similar to regular Cycles tests, just does OpenGL render to
get output image.
Seems to work fine with the only funny effect: Blender window will
pop up for each of the tests. This is current limitation of our
OpenGL context. Might be changed in the future.
|
|
|
|
Made them closer to how GTest shows the output, so reading test logs
is easier now (at least feels more uniform).
Additionally now we know how much time tests are taking so can tweak
samples/resolution to reduce render time of slow tests.
It is now also possible to enable colored messages using magic
CYCLESTEST_COLOR environment variable. This makes it even easier to
visually grep failed/passed tests using `ctest -R cycles -V`.
|
|
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D2201
|
|
|
|
|
|
|
|
|
|
This new tests are aimed to issues/regressions reported to the tracker.
|
|
- Apply VERBOSE to idiff result as well
- Don't treat verification failed error as unknown
|
|
succeed if we test 0 files."
This reverts commit d390e24c49ba8543b56948402622563cae6e860f.
Forcing tests to success is really bad idea. It'll only lead to cases when
you see PASSED and will think everything is OK.
Long story short: never force tests to pass!
|
|
we test 0 files.
|
|
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.
Thanks Campbell for review and code tweaks!
|