Blender Git Loki
Git Commits -> Revision 6ac2a20
Revision 6ac2a20 by Ray molenkamp (master) October 3, 2019, 17:34 (GMT) |
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 |
Commit Details:
Full Hash: 6ac2a2061f8b7a515ced1b38452ddc2315c617c7
Parent Commit: 79ca5ad
Lines Changed: +9, -0