Skip to content

Commit 485bd54

Browse files
committed
cmake: Create symbolic link to test/functional/test_runner.py
1 parent 9d1174c commit 485bd54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ if(NOT ENABLE_TRACING)
214214
set(ENABLE_USDT_TRACEPOINTS_TRUE \#)
215215
endif()
216216
configure_file(test/config.ini.in test/config.ini @ONLY)
217+
execute_process(COMMAND mkdir -p ${CMAKE_BINARY_DIR}/test/functional)
218+
execute_process(COMMAND rm -f ${CMAKE_BINARY_DIR}/test/functional/test_runner.py)
219+
execute_process(COMMAND ln -s ${CMAKE_SOURCE_DIR}/test/functional/test_runner.py ${CMAKE_BINARY_DIR}/test/functional/test_runner.py)
217220

218221
message("\n")
219222
message("Configure summary")

0 commit comments

Comments
 (0)