mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-05 08:45:25 +08:00
qt 6.5.1 original
This commit is contained in:
44
tests/auto/corelib/io/qprocess/test/CMakeLists.txt
Normal file
44
tests/auto/corelib/io/qprocess/test/CMakeLists.txt
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#####################################################################
|
||||
## tst_qprocess Test:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_test(tst_qprocess
|
||||
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
|
||||
SOURCES
|
||||
../tst_qprocess.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::Network
|
||||
Qt::TestPrivate
|
||||
)
|
||||
|
||||
## Build assorted sub-programs called from the test:
|
||||
add_dependencies(tst_qprocess
|
||||
testProcessCrash
|
||||
testProcessEcho
|
||||
testProcessEcho2
|
||||
testProcessEcho3
|
||||
testProcessEnvironment
|
||||
testProcessHang
|
||||
testProcessNormal
|
||||
testProcessOutput
|
||||
testProcessDeadWhileReading
|
||||
testProcessEOF
|
||||
testExitCodes
|
||||
testForwarding
|
||||
testDetached
|
||||
fileWriterProcess
|
||||
testSetWorkingDirectory
|
||||
testSoftExit
|
||||
nospace onespace twospaces
|
||||
testSpaceInName
|
||||
)
|
||||
if(TARGET Qt::Widgets)
|
||||
add_dependencies(tst_qprocess testGuiProcess)
|
||||
endif()
|
||||
if(WIN32)
|
||||
add_dependencies(tst_qprocess testProcessEchoGui testSetNamedPipeHandleState)
|
||||
endif()
|
Reference in New Issue
Block a user