blender/build_files/cmake
lazydodo 64f5afdb89 [Cycles/MSVC/Testing] Fix broken test code.
Currently the tests don't run on windows for the following reasons

1) render_graph_finalize has an linking issue due missing a bunch of libraries (not sure why this is not an issue for linux)
2) This one is more interesting, in test/python/cmakelists.txt ${TEST_BLENDER_EXE_BARE} and ${TEST_BLENDER_EXE} are flat out wrong, but for some reason this doesn't matter for most tests, cause ctest will actually go out and look for the executable and fix the path for you *BUT* only for the command, if you use them in any of the parameters it'll happily pass on the wrong path.
3) on linux you can just run a .py file, windows is not as awesome and needs to be told to run it with pyton.
4) had to use the NAME/COMMAND long form of add_test otherwise $<TARGET_FILE:blender> doesn't get expanded, why? beats me.
5) missing idiff.exe for msvc2015/x64 in the libs folder.

This patch addresses 1-4 , but given I have no working Linux build environment, I'm unsure if it'll break anything there

5 has been fixed in rBL61751

Reviewers: juicyfruit, brecht, sergey

Reviewed By: sergey

Subscribers: Blendify

Tags: #cycles, #automated_testing

Differential Revision: https://developer.blender.org/D2367
2017-01-25 09:37:19 -07:00
..
config CMake: Fix copy-paste error 2016-09-22 11:01:37 +02:00
example_scripts Cleanup: pep8 2016-07-30 18:17:11 +10:00
Modules [Cycles/MSVC/Testing] Fix broken test code. 2017-01-25 09:37:19 -07:00
platform [Cycles/MSVC/Testing] Fix broken test code. 2017-01-25 09:37:19 -07:00
buildinfo.cmake Buildinfo: Improve behavior with detached HEAD 2016-09-22 15:01:01 +02:00
clang_array_check.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
cmake_consistency_check_config.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
cmake_consistency_check.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
cmake_netbeans_project.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
cmake_qtcreator_project.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
cmake_static_check_clang_array.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
cmake_static_check_cppcheck.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
cmake_static_check_smatch.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
cmake_static_check_sparse.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
cmake_static_check_splint.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
macros.cmake [Cycles/MSVC/Testing] Fix broken test code. 2017-01-25 09:37:19 -07:00
packaging.cmake [windows] Create A Blender Desktop Shortcut in the msi installer , fixes T49522 2016-10-18 09:23:45 -06:00
project_info.py Cleanup: unused vars, imports, pep8 2016-08-01 11:55:06 +10:00
project_source_info.py Cleanup: pep8 2016-07-30 18:17:11 +10:00
RpmBuild.cmake when building blender as a py module use add_library(... MODULE on all systems, was SHARED on linux/windows. 2012-01-11 00:09:46 +00:00