Commit c8dbb830 authored by Kevin Funk's avatar Kevin Funk

macOS: Don't create bundles for test executables

Reviewers: rjvbb, sitter, apol

Reviewed By: rjvbb, sitter, apol

Subscribers: apol, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D8308
parent abb6999b
......@@ -18,6 +18,7 @@ include(ECMPackageConfigHelpers)
include(ECMMarkNonGuiExecutable)
include(ECMOptionalAddSubdirectory)
include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
include(ECMMarkAsTest)
include(CMakePackageConfigHelpers)
include(WriteBasicConfigVersionFile)
......
add_executable( backtraceparsertest fakebacktracegenerator.cpp backtraceparsertest.cpp)
target_link_libraries( backtraceparsertest Qt5::Test Qt5::Core KF5::KIOWidgets drkonqi_backtrace_parser)
ecm_mark_as_test(backtraceparsertest)
add_test(backtraceparsertest backtraceparsertest)
ecm_add_test(fakebacktracegenerator.cpp backtraceparsertest.cpp
TEST_NAME backtraceparsertest
LINK_LIBRARIES Qt5::Test Qt5::Core KF5::KIOWidgets drkonqi_backtrace_parser
)
add_executable(backtraceparsertest_manual fakebacktracegenerator.cpp backtraceparsertest_manual.cpp)
target_link_libraries(backtraceparsertest_manual Qt5::Core KF5::I18n KF5::KIOWidgets drkonqi_backtrace_parser)
ecm_mark_as_test(backtraceparsertest_manual)
ecm_mark_nongui_executable(backtraceparsertest_manual)
# create a link so that the data directory can be accessed from the build directory, where the test runs
if( NOT WIN32 )
......
add_executable(crashtest crashtest.cpp)
ecm_mark_as_test(crashtest)
ecm_mark_nongui_executable(crashtest)
target_link_libraries(crashtest
KF5::I18n KF5::Crash KF5::CoreAddons Qt5::Widgets
Qt5::Concurrent)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment