blob: a670ed9c73df5ee7508e7d5b8e05ca56f89e384f (
plain)
1
2
3
4
5
6
7
|
file(GLOB PY_SRCS "*.py")
add_custom_target(pyextras SOURCES ${PY_SRCS})
add_test(NAME pytest COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/functest.py")
set_property(TEST pytest PROPERTY
ENVIRONMENT "PYTHONPATH=." "LD_LIBRARY_PATH=."
)
|