2020-08-27 02:08:42 +00:00
|
|
|
enable_testing()
|
2020-09-15 02:00:00 +00:00
|
|
|
|
|
|
|
include_directories(${CMAKE_HOME_DIRECTORY}/src)
|
2020-10-27 07:51:16 +00:00
|
|
|
include_directories(${CMAKE_HOME_DIRECTORY}/src/index/knowhere)
|
2020-08-27 02:08:42 +00:00
|
|
|
set(MILVUS_TEST_FILES
|
2020-09-15 02:00:00 +00:00
|
|
|
test_naive.cpp
|
2020-10-31 07:11:47 +00:00
|
|
|
test_segcore.cpp
|
2020-09-15 02:00:00 +00:00
|
|
|
test_concurrent_vector.cpp
|
|
|
|
test_c_api.cpp
|
|
|
|
test_indexing.cpp
|
2020-11-03 03:45:48 +00:00
|
|
|
test_query.cpp
|
2020-11-16 02:55:49 +00:00
|
|
|
test_expr.cpp
|
2020-11-30 02:07:04 +00:00
|
|
|
test_bitmap.cpp)
|
2020-09-15 02:00:00 +00:00
|
|
|
add_executable(all_tests
|
|
|
|
${MILVUS_TEST_FILES}
|
|
|
|
)
|
2020-08-27 02:08:42 +00:00
|
|
|
|
2020-09-15 02:00:00 +00:00
|
|
|
target_link_libraries(all_tests
|
|
|
|
gtest
|
|
|
|
gtest_main
|
2020-10-31 07:11:47 +00:00
|
|
|
milvus_segcore
|
2020-09-15 02:00:00 +00:00
|
|
|
knowhere
|
|
|
|
log
|
|
|
|
pthread
|
2020-10-15 13:31:50 +00:00
|
|
|
)
|
2020-10-27 07:51:16 +00:00
|
|
|
install (TARGETS all_tests DESTINATION unittest)
|