Blender Git Loki

Git Commits -> Revision 704fabc

September 15, 2020, 15:44 (GMT)
Tests: bundle tests for some modules in their own executables

The ffmpeg, guardedalloc and blenlib are quite isolated and putting them in
their own executable separate from blender_test is faster for development than
linking the entire blender_tests executable.

For Cycles, this also bundles all the unit tests into one executable.

I also considered going back to having every test file in its own executable,
but the size of these executables does add up quickly, and linking and running
all blenlib tests is still < 1s here.

Ref T79958

Reviewed By: LazyDodo

Maniphest Tasks: T79958

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

Commit Details:

Full Hash: 704fabc73afff0c5a318857dfaa9db4ad2e58335
Parent Commit: 7320e8c
Lines Changed: +96, -48

8 Modified Paths:

/build_files/cmake/macros.cmake (+44, -3) (Diff)
/intern/cycles/test/CMakeLists.txt (+17, -16) (Diff)
/intern/cycles/test/util_avxf_avx2_test.cpp (+2, -0) (Diff)
/intern/cycles/test/util_avxf_avx_test.cpp (+2, -0) (Diff)
/intern/cycles/test/util_avxf_test.h (+27, -26) (Diff)
/intern/ffmpeg/CMakeLists.txt (+1, -1) (Diff)
/intern/guardedalloc/CMakeLists.txt (+1, -1) (Diff)
/source/blender/blenlib/CMakeLists.txt (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021