blender/tests/gtests/testing
Jacques Lucke 8a9912eaf8 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
2020-08-26 22:02:02 +02:00
..
CMakeLists.txt Allocator: make leak detection work with static variables 2020-07-24 12:26:11 +02:00
mock_log.h Cleanup: make format after SortedIncludes change 2020-03-19 09:33:58 +01:00
testing_main.cc Tests: fail automated tests on memory leaks and other internal errors 2020-08-26 22:02:02 +02:00
testing.h Tests: move tests from USD test directory into io/common and io/usd 2020-07-16 17:38:29 +02:00