Fix and run the qlocalsocket autotest with cmake build
Change-Id: I79691fe97e1373ffdc6a1b9b929f8a3fc2ef863d Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>bb10
parent
1e0f2be5ac
commit
a618c260ed
|
|
@ -7,7 +7,7 @@ if(QT_FEATURE_private_tests)
|
|||
add_subdirectory(platformsocketengine)
|
||||
endif()
|
||||
add_subdirectory(qudpsocket)
|
||||
### add_subdirectory(qlocalsocket) # special case
|
||||
add_subdirectory(qlocalsocket)
|
||||
add_subdirectory(qtcpserver)
|
||||
add_subdirectory(qabstractsocket)
|
||||
if(QT_FEATURE_sctp)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,13 @@
|
|||
# Generated from qlocalsocket.pro.
|
||||
|
||||
add_subdirectory(test)
|
||||
# special case begin
|
||||
add_subdirectory(socketprocess)
|
||||
|
||||
qt_internal_add_test(tst_qlocalsocket
|
||||
SOURCES
|
||||
tst_qlocalsocket.cpp
|
||||
DEFINES
|
||||
QLOCALSERVER_DEBUG
|
||||
QLOCALSOCKET_DEBUG
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
)
|
||||
# special case end
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
# Generated from test.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qlocalsocket Test:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_test(tst_qlocalsocket
|
||||
SOURCES
|
||||
../tst_qlocalsocket.cpp
|
||||
DEFINES
|
||||
QLOCALSERVER_DEBUG
|
||||
QLOCALSOCKET_DEBUG
|
||||
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../\\\"
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 3:.:.:test.pro:(CMAKE_BUILD_TYPE STREQUAL Debug):
|
||||
# DESTDIR = "../debug"
|
||||
|
||||
#### Keys ignored in scope 4:.:.:test.pro:else:
|
||||
# DESTDIR = "../release"
|
||||
|
||||
#### Keys ignored in scope 5:.:.:test.pro:else:
|
||||
# DESTDIR = ".."
|
||||
Loading…
Reference in New Issue