Blender Git Loki

Git Commits -> Revision 54f8a5d

Revision 54f8a5d by Sybren A. Stüvel (master)
January 11, 2021, 10:29 (GMT)
Tests: run suites instead of individual test cases

Group all tests of a test suite into a single test command invocation.
This reduces the number of invocations by `ctest` by an order of
magnitude.

Since rB56aa5b0d8c6b663, `bin/tests/blender_test` was run for every
individual test. Having over a 1000 tests made testing slower than
necessary. Individual tests can still be run if desired by invocation of
`bin/tests/blender_test --gtest_filter=suitename.testname`.

NOTE: For this commit to have an immediate effect, it may be necessary
to remove the `tests` and `Testing` directories and some CMake files
from your build directory and rebuild. Run `ctest -N` to see the list of
tests; there should be less than 200.

Reviewed By: sergey, LazyDodo, sebbas

Maniphest Tasks: T83222

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

Commit Details:

Full Hash: 54f8a5dd737388d89332f3074eba01edc9efa8c1
Parent Commit: 63cea2b
Lines Changed: +82, -406

1 Deleted Path:

/build_files/cmake/Modules/GTestAddTests.cmake (+0, -194)

5 Modified Paths:

/build_files/cmake/macros.cmake (+47, -8) (Diff)
/build_files/cmake/Modules/GTest.cmake (+19, -159) (Diff)
/build_files/cmake/Modules/GTestTesting.cmake (+12, -7) (Diff)
/CMakeLists.txt (+4, -5) (Diff)
/tests/gtests/runner/CMakeLists.txt (+0, -33) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021