Files
qt-creator/tests/auto/utils/qtcprocess/CMakeLists.txt
Jarek Kobus ecd9053587 tst_qtcprocess: Remove 30 seconds timeout overload
The default is 60.

Change-Id: I22585a62648376c771f6f3e4165dc4a1bef25892
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-10-11 07:34:39 +00:00

15 lines
596 B
CMake

add_subdirectory(processtestapp)
file(RELATIVE_PATH RELATIVE_TEST_PATH "${PROJECT_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}")
file(RELATIVE_PATH TEST_RELATIVE_LIBEXEC_PATH "/${RELATIVE_TEST_PATH}" "/${IDE_LIBEXEC_PATH}")
add_qtc_test(tst_qtcprocess
CONDITION Qt5_VERSION VERSION_GREATER_EQUAL 6.2.0
DEFINES "TEST_RELATIVE_LIBEXEC_PATH=\"${TEST_RELATIVE_LIBEXEC_PATH}\""
"PROCESS_TESTAPP=\"${CMAKE_CURRENT_BINARY_DIR}/processtestapp\""
DEPENDS Utils app_version
SOURCES tst_qtcprocess.cpp
processtestapp/processtestapp.h
processtestapp/processtestapp.cpp
)