Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-10-28 18:19:03 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-11-30 15:40:33 +0300
commitdd391d38f6ef2165bc76a1e69da52e1bd1208e53 (patch)
tree299649b58b0359ca49779bcfd83577f11f8b65f8 /tests/python/eevee_render_tests.py
parentc986e46be708f6885a9504d87f58a99259ac63c7 (diff)
Tests: add CMake option to run Cycles regression tests on GPU devices
CYCLES_TEST_DEVICES is a list of devices (CPU, CUDA, OPTIX, OPENCL). It is set to CPU only by default. Test output is now writen to build/tests/cycles/<device>, and the HTML report has separate report pages for the different devices, with option to compare between CPU and GPU renders. Various GPU tests are still failing due to CPU/GPU differences, these are to be fixed or blacklisted still. Ref T82193
Diffstat (limited to 'tests/python/eevee_render_tests.py')
-rw-r--r--tests/python/eevee_render_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/eevee_render_tests.py b/tests/python/eevee_render_tests.py
index 4c3ca28402f..4f1eba3348f 100644
--- a/tests/python/eevee_render_tests.py
+++ b/tests/python/eevee_render_tests.py
@@ -137,7 +137,7 @@ def main():
report = render_report.Report("Eevee", output_dir, idiff)
report.set_pixelated(True)
report.set_reference_dir("eevee_renders")
- report.set_compare_engines('eevee', 'cycles')
+ report.set_compare_engines('cycles', 'CPU')
ok = report.run(test_dir, blender, get_arguments, batch=True)
sys.exit(not ok)