tornavis/intern/libmv
Sybren A. Stüvel 56aa5b0d8c T73268: Link C/C++ unit tests into single executable
This commit introduces a new way to build unit tests. It is now possible
for each module to generate its own test library. The tests in these
libraries are then bundled into a single executable.

The test executable can be run with `ctest`. Even though the tests
reside in a single executable, they are still exposed as individual
tests to `ctest`, and thus can be selected via its `-R` argument.

Not yet ported tests still build & run as before.

The following rules apply:

- Test code should reside in the same directory as the code under test.
- Tests that target functionality in `somefile.{c,cc}` should reside in
  `somefile_test.cc`.
- The namespace for tests is the `tests` sub-namespace of the code under
  test. For example, tests for `blender::bke` should be in
  `blender::bke:tests`.
- The test files should be listed in the module's `CMakeLists.txt` in a
  `blender_add_test_lib()` call. See the `blenkernel` module for an
  example.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D7649
2020-07-16 12:58:49 +02:00
..
intern Tracking: Implement Nuke/Natron distortion model 2020-04-29 16:39:30 +02:00
libmv UI: Add units to motion tracking solve errors 2020-07-07 11:22:12 +02:00
third_party/msinttypes
.clang-format Disable clang-format for Libmv 2019-04-18 12:33:04 +02:00
CMakeLists.txt T73268: Link C/C++ unit tests into single executable 2020-07-16 12:58:49 +02:00
ChangeLog
bundle.sh Cleanup: include missing CMake headers 2020-01-25 20:15:35 +11:00
files.txt Libmv: Add map utility 2020-05-15 11:20:45 +02:00
libmv-capi.h Cleanup: remove redundant, invalid info from headers 2019-02-02 01:36:28 +11:00
mkfiles.sh