Install core unit test

Former-commit-id: ca5af63829888fe86df6daf45ad3223f84da8e9f
pull/191/head
zhiru 2019-09-07 12:09:57 +08:00
parent 26b30c9a1d
commit 209127c185
4 changed files with 10 additions and 1 deletions

View File

@ -92,6 +92,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-487 - Define metric type in CreateTable
- MS-488 - Improve code format in scheduler
- MS-495 - cmake: integrated knowhere
- MS-505 - Install core unit test
## New Feature
- MS-343 - Implement ResourceMgr

View File

@ -74,6 +74,10 @@ target_link_libraries(test_kdt
SPTAGLibStatic
${depend_libs} ${unittest_libs} ${basic_libs})
install(TARGETS test_ivf DESTINATION unittest)
install(TARGETS test_idmap DESTINATION unittest)
install(TARGETS test_kdt DESTINATION unittest)
add_subdirectory(faiss_ori)
add_subdirectory(test_nsg)

View File

@ -24,3 +24,5 @@ if(NOT TARGET test_gpu)
add_executable(test_gpu gpuresource_test.cpp)
endif()
target_link_libraries(test_gpu ${depend_libs} ${unittest_libs} ${basic_libs})
install(TARGETS test_gpu DESTINATION unittest)

View File

@ -38,4 +38,6 @@ if(NOT TARGET test_nsg)
endif()
target_link_libraries(test_nsg ${depend_libs} ${unittest_libs} ${basic_libs})
##############################
##############################
install(TARGETS test_nsg DESTINATION unittest)