Blender Git Loki

Git Commits -> Revision 8a9912e

Revision 8a9912e by Jacques Lucke (master)
August 26, 2020, 20:02 (GMT)
Tests: fail automated tests on memory leaks and other internal errors

This adds a new `--debug-exit-on-error` flag. When it is set, Blender
will abort with a non-zero exit code when there are internal errors.
Currently, "internal errors" includes memory leaks detected by
guardedalloc and error/fatal log entries in clog.

The new flag is passed to Blender in various places where automated
tests are run. Furthermore, the `--debug-memory` flag is used in tests,
because that makes the verbose output more useful, when dealing
with memory leaks.

Reviewers: brecht, sergey

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

Commit Details:

Full Hash: 8a9912eaf81bab73a12621a4c0987c37a865fe50
Parent Commit: d8cf6ee
Lines Changed: +90, -10

15 Modified Paths:

/intern/clog/CLG_log.h (+1, -0) (Diff)
/intern/clog/clog.c (+23, -0) (Diff)
/intern/guardedalloc/intern/leak_detector.cc (+19, -0) (Diff)
/intern/guardedalloc/MEM_guardedalloc.h (+5, -0) (Diff)
/source/creator/creator_args.c (+20, -0) (Diff)
/tests/CMakeLists.txt (+1, -1) (Diff)
/tests/gtests/testing/testing_main.cc (+1, -0) (Diff)
/tests/python/collada/CMakeLists.txt (+3, -3) (Diff)
/tests/python/cycles_render_tests.py (+2, -0) (Diff)
/tests/python/eevee_render_tests.py (+2, -0) (Diff)
/tests/python/modules/render_report.py (+6, -5) (Diff)
/tests/python/modules/test_utils.py (+2, -0) (Diff)
/tests/python/opengl_draw_tests.py (+2, -0) (Diff)
/tests/python/view_layer/CMakeLists.txt (+1, -1) (Diff)
/tests/python/workbench_render_tests.py (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021