mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-31 00:37:39 +08:00
Merge branch 'feature/extract-test-case-name' of https://github.com/xia-chu/ZLMediaKit
This commit is contained in:
commit
54dae13177
@ -8,7 +8,8 @@ foreach (TEST_SRC ${TEST_SRC_LIST})
|
||||
continue()
|
||||
endif ()
|
||||
endif ()
|
||||
STRING(REGEX REPLACE "^\\./|\\.c[a-zA-Z0-9_]*$" "" TEST_EXE_NAME ${TEST_SRC})
|
||||
|
||||
get_filename_component(TEST_EXE_NAME ${TEST_SRC} NAME_WE)
|
||||
message(STATUS "add test:${TEST_EXE_NAME}")
|
||||
add_executable(${TEST_EXE_NAME} ${TEST_SRC})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user