From 0aa4b33b92da6a95d29caee62e4ac5e4c53a84ff Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Wed, 16 Sep 2020 14:50:18 +0200 Subject: CMake Build: Add qtnetwork docker testserver support qt_add_test supports now QT_TEST_SERVER_LIST, which will add the test servers as docker test fixtures. The docker server will be started before the test is run, and stopped after the test is run. Running the tests in parallel is not supported. Docker tests are currently only supported on Linux hosts. Task-number: QTBUG-85034 Change-Id: If3cefe05c5dec19c14b05d2fa8b01a0b6d95e259 Reviewed-by: Alexandru Croitor --- tests/auto/network/socket/qtcpserver/test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/network/socket/qtcpserver/test/CMakeLists.txt') diff --git a/tests/auto/network/socket/qtcpserver/test/CMakeLists.txt b/tests/auto/network/socket/qtcpserver/test/CMakeLists.txt index ae345b99f4..4d328ebddb 100644 --- a/tests/auto/network/socket/qtcpserver/test/CMakeLists.txt +++ b/tests/auto/network/socket/qtcpserver/test/CMakeLists.txt @@ -10,6 +10,7 @@ qt_add_test(tst_qtcpserver ../tst_qtcpserver.cpp PUBLIC_LIBRARIES Qt::Network + QT_TEST_SERVER_LIST "danted" "cyrus" "squid" "ftp-proxy" # special case ) #### Keys ignored in scope 1:.:.:test.pro:: -- cgit v1.2.3