File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 5151 if : runner.os != 'Linux'
5252 working-directory : ./build
5353 run : |
54- ctest --output-on-failure
54+ ctest --output-on-failure -C ${{ matrix.build_type }}
Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ function(owncloud_add_test test_class)
2525 set_property (TEST ${OWNCLOUD_TEST_CLASS} Test PROPERTY ENVIRONMENT "QT_QPA_PLATFORM=offscreen" )
2626 endif ()
2727
28+ if (WIN32 )
29+ set (dll_paths $<TARGET_RUNTIME_DLL_DIRS:${OWNCLOUD_TEST_CLASS} Test >)
30+ set_property (TEST ${OWNCLOUD_TEST_CLASS} Test PROPERTY ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$<JOIN:${dll_paths} ,\\\; >" )
31+ endif ()
32+
2833 foreach (arg IN LISTS ARGN)
2934 target_sources (${OWNCLOUD_TEST_CLASS} Test PRIVATE ${arg} )
3035 endforeach ()
You can’t perform that action at this time.
0 commit comments