summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <[email protected]>2015-10-03 13:11:36 -0700
committerKurt Hindenburg <[email protected]>2015-10-03 13:11:36 -0700
commitfd4db003afdb79076420ecc3acbfd44ebf4f0b50 (patch)
tree07b7f01811ed48e52afdacc64fe4220596e9a49c
parent9076c3af475e3b0d8cc3158e60c41ac64725b9ee (diff)
Mark tests as ecm_mark_nongui_executable to allow running on MacOSX
-rw-r--r--src/autotests/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/autotests/CMakeLists.txt b/src/autotests/CMakeLists.txt
index 0366504..8086eb1 100644
--- a/src/autotests/CMakeLists.txt
+++ b/src/autotests/CMakeLists.txt
@@ -1,4 +1,5 @@
include(ECMMarkAsTest)
+include(ECMMarkNonGuiExecutable)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
@@ -6,11 +7,13 @@ set(KONSOLE_TEST_LIBS Qt5::Test konsoleprivate)
add_executable(CharacterColorTest CharacterColorTest.cpp)
ecm_mark_as_test(CharacterColorTest)
+ecm_mark_nongui_executable(CharacterColorTest)
add_test(CharacterColorTest CharacterColorTest)
target_link_libraries(CharacterColorTest ${KONSOLE_TEST_LIBS})
add_executable(CharacterWidthTest CharacterWidthTest.cpp)
ecm_mark_as_test(CharacterWidthTest)
+ecm_mark_nongui_executable(CharacterWidthTest)
add_test(CharacterWidthTest CharacterWidthTest)
target_link_libraries(CharacterWidthTest ${KONSOLE_TEST_LIBS})
@@ -24,11 +27,13 @@ endif()
add_executable(HistoryTest HistoryTest.cpp)
ecm_mark_as_test(HistoryTest)
+ecm_mark_nongui_executable(HistoryTest)
add_test(HistoryTest HistoryTest)
target_link_libraries(HistoryTest ${KONSOLE_TEST_LIBS} KF5::Parts)
add_executable(KeyboardTranslatorTest KeyboardTranslatorTest.cpp)
ecm_mark_as_test(KeyboardTranslatorTest)
+ecm_mark_nongui_executable(KeyboardTranslatorTest)
add_test(KeyboardTranslatorTest KeyboardTranslatorTest)
target_link_libraries(KeyboardTranslatorTest ${KONSOLE_TEST_LIBS})
@@ -42,32 +47,38 @@ endif()
add_executable(ProfileTest ProfileTest.cpp)
ecm_mark_as_test(ProfileTest)
+ecm_mark_nongui_executable(ProfileTest)
add_test(ProfileTest ProfileTest)
target_link_libraries(ProfileTest ${KONSOLE_TEST_LIBS})
add_executable(PtyTest PtyTest.cpp)
ecm_mark_as_test(PtyTest)
+ecm_mark_nongui_executable(PtyTest)
add_test(PtyTest PtyTest)
target_link_libraries(PtyTest KF5::Pty ${KONSOLE_TEST_LIBS})
add_executable(SessionTest SessionTest.cpp)
ecm_mark_as_test(SessionTest)
+ecm_mark_nongui_executable(SessionTest)
add_test(SessionTest SessionTest)
target_link_libraries(SessionTest ${KONSOLE_TEST_LIBS} KF5::Parts)
add_executable(ShellCommandTest ShellCommandTest.cpp)
ecm_mark_as_test(ShellCommandTest)
+ecm_mark_nongui_executable(ShellCommandTest)
add_test(ShellCommandTest ShellCommandTest)
target_link_libraries(ShellCommandTest ${KONSOLE_TEST_LIBS})
add_executable(TerminalCharacterDecoderTest
TerminalCharacterDecoderTest.cpp)
ecm_mark_as_test(TerminalCharacterDecoderTest)
+ecm_mark_nongui_executable(TerminalCharacterDecoderTest)
add_test(TerminalCharacterDecoderTest TerminalCharacterDecoderTest)
target_link_libraries(TerminalCharacterDecoderTest ${KONSOLE_TEST_LIBS})
add_executable(TerminalTest TerminalTest.cpp)
ecm_mark_as_test(TerminalTest)
+ecm_mark_nongui_executable(TerminalTest)
add_test(TerminalTest TerminalTest)
target_link_libraries(TerminalTest ${KONSOLE_TEST_LIBS} KF5::Parts)