tornavis/intern/guardedalloc
Brecht Van Lommel 364beee159 Tests: add option to build one binary per GTest file
Bundling many tests in a single binary reduces build time and disk space
usage, but is less convenient for running individual tests command line
as filter flags need to be used.

This adds WITH_TESTS_SINGLE_BINARY to generate one executable file per
source file. Note that enabling this option requires a significant amount
of disk space.

Due to refactoring, the resulting ctest names are a bit different than
before. The number of tests is also a bit different depending if this
option is used, as one uses gtests discovery and the other is organized
purely by filename, which isn't always 1:1.

Co-authored-by: Sergey Sharybin <sergey@blender.org>
Pull Request: https://projects.blender.org/blender/blender/pulls/114604
2024-01-03 18:35:50 +01:00
..
cpp Cleanup: use braces around statements 2023-09-12 14:48:20 +10:00
intern Clang Format: bump to version 17 2024-01-03 13:38:14 +01:00
test/simpletest Cleanup: use braces around statements 2023-09-12 14:48:20 +10:00
tests License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
CMakeLists.txt Tests: add option to build one binary per GTest file 2024-01-03 18:35:50 +01:00
MEM_guardedalloc.h Cleanup: spelling & punctuation in comments 2023-09-14 13:25:24 +10:00