One more fix to run unit tests on Windows: Missing DLLS need to be copied.
This commit is contained in:
parent
a3874a410f
commit
7a2bd9023a
@ -9,5 +9,9 @@ if (MSVC)
|
|||||||
endif ()
|
endif ()
|
||||||
set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests")
|
set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests")
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
prusaslicer_copy_dlls(${_TEST_NAME}_tests)
|
||||||
|
endif()
|
||||||
|
|
||||||
# catch_discover_tests(${_TEST_NAME}_tests TEST_PREFIX "${_TEST_NAME}: ")
|
# catch_discover_tests(${_TEST_NAME}_tests TEST_PREFIX "${_TEST_NAME}: ")
|
||||||
add_test(${_TEST_NAME}_tests ${_TEST_NAME}_tests "${CATCH_EXTRA_ARGS} exclude:[NotWorking]")
|
add_test(${_TEST_NAME}_tests ${_TEST_NAME}_tests "${CATCH_EXTRA_ARGS} exclude:[NotWorking]")
|
||||||
|
Loading…
Reference in New Issue
Block a user