Warning, /pim/messagelib/webengineviewer/src/developertool/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: CC0-1.0 0002 # SPDX-FileCopyrightText: none 0003 macro(add_webengineviewer_widget_unittest _source) 0004 get_filename_component(_name ${_source} NAME_WE) 0005 ecm_add_test(${_source} ${_name}.h 0006 TEST_NAME ${_name} 0007 NAME_PREFIX "webengineviewer-" 0008 LINK_LIBRARIES KPim6::WebEngineViewer Qt::Test 0009 ) 0010 # needed for the CI to run webengine-related tests 0011 # the CI runs as root, and webengine insists on disabling sandboxing in that case 0012 set_tests_properties(webengineviewer-${_name} PROPERTIES ENVIRONMENT "QTWEBENGINE_DISABLE_SANDBOX=1") 0013 0014 endmacro () 0015 0016 add_webengineviewer_widget_unittest(developertooldialogtest.cpp) 0017 add_webengineviewer_widget_unittest(developertoolwidgettest.cpp)