diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-10-03 20:34:04 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-10-03 20:34:04 +0300 |
commit | 6ac2a2061f8b7a515ced1b38452ddc2315c617c7 (patch) | |
tree | d772043a29ac2e015cd441c615921f938f61a1de /extern | |
parent | 79ca5ad368fb78c29c97d40be4a2c817c900fc58 (diff) |
Fix: Unit tests on windows.
Problem was twofold
1) `GENERATOR_IS_MULTI_CONFIG` is a property not a variable so
the test for it would always be false, unless you set a custom
CMAKE_INSTALL_PREFIX (like the buildbot does) the unit tests
would have a wrong working directory and complain about missing
dlls or blender executable
2) Tests added outside of `/test` (like libmv) would have no working
folder set since the variable would not be visible for them.
consulted @sergey who voiced the opinion that duplicating the code
to the test macro was slightly less evil than moving it to the main
CMakeLists.txt
Diffstat (limited to 'extern')
0 files changed, 0 insertions, 0 deletions