diff options
Diffstat (limited to 'tests/auto/network/socket/qtcpsocket')
3 files changed, 73 insertions, 0 deletions
diff --git a/tests/auto/network/socket/qtcpsocket/CMakeLists.txt b/tests/auto/network/socket/qtcpsocket/CMakeLists.txt new file mode 100644 index 0000000000..b3ad79cba9 --- /dev/null +++ b/tests/auto/network/socket/qtcpsocket/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from qtcpsocket.pro. + +add_subdirectory(test) + +if(NOT VXWORKS) + add_subdirectory(stressTest) +endif() diff --git a/tests/auto/network/socket/qtcpsocket/stressTest/CMakeLists.txt b/tests/auto/network/socket/qtcpsocket/stressTest/CMakeLists.txt new file mode 100644 index 0000000000..03c40c1a1f --- /dev/null +++ b/tests/auto/network/socket/qtcpsocket/stressTest/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from stressTest.pro. + +##################################################################### +## stressTest Binary: +##################################################################### + +add_qt_executable(stressTest + SOURCES + Test.cpp Test.h + main.cpp + PUBLIC_LIBRARIES + Qt::Network + Qt::Test +) + +#### Keys ignored in scope 1:.:.:stressTest.pro:<TRUE>: +# CONFIG = "cmdline" +# DESTDIR = "./" +# MOC_DIR = ".moc/" +# TMP_DIR = ".tmp/" diff --git a/tests/auto/network/socket/qtcpsocket/test/CMakeLists.txt b/tests/auto/network/socket/qtcpsocket/test/CMakeLists.txt new file mode 100644 index 0000000000..19cb1256cc --- /dev/null +++ b/tests/auto/network/socket/qtcpsocket/test/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from test.pro. + +##################################################################### +## tst_qtcpsocket Test: +##################################################################### + +add_qt_test(tst_qtcpsocket + GUI + SOURCES + ../tst_qtcpsocket.cpp + LIBRARIES + Qt::CorePrivate + Qt::NetworkPrivate + PUBLIC_LIBRARIES + Qt::Network +) + +#### Keys ignored in scope 1:.:.:test.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +extend_target(tst_qtcpsocket CONDITION WIN32 + PUBLIC_LIBRARIES + ws2_32 +) + +# special case begin +set(THREADS_PREFER_PTHREAD_FLAG 1) +find_package(Threads) +target_link_libraries(tst_qtcpsocket PRIVATE Threads::Threads) +# special case end + +#### Keys ignored in scope 4:.:.:test.pro:(CMAKE_BUILD_TYPE STREQUAL Debug): +# DESTDIR = "../debug" + +#### Keys ignored in scope 5:.:.:test.pro:else: +# DESTDIR = "../release" + +#### Keys ignored in scope 6:.:.:test.pro:else: +# DESTDIR = "../" + +#### Keys ignored in scope 7:.:.:test.pro:LINUX: +# CONFIG = "unsupported/testserver" +# QT_TEST_SERVER_LIST = "danted" "squid" "apache2" "ftp-proxy" "vsftpd" "iptables" "cyrus" |