mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
12 lines
336 B
CMake
12 lines
336 B
CMake
find_package(Python3 COMPONENTS Interpreter REQUIRED QUIET)
|
|
execute_process(
|
|
COMMAND ${Python3_EXECUTABLE} ${testdir}/testclient/pyuo/testclient.py
|
|
COMMAND ${pol}
|
|
COMMAND_ECHO STDOUT
|
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
|
RESULT_VARIABLE res
|
|
TIMEOUT 600
|
|
)
|
|
if(NOT "${res}" STREQUAL "0")
|
|
message(SEND_ERROR "${res}")
|
|
endif()
|