mirror of https://github.com/milvus-io/milvus.git
1845 no UT log (#1846)
* #1845 No UT log Signed-off-by: JinHai-CN <hai.jin@zilliz.com> * No UT log Signed-off-by: JinHai-CN <hai.jin@zilliz.com>pull/1840/head
parent
6e7fb831bd
commit
0e0739ef87
|
@ -195,6 +195,7 @@ if (BUILD_UNIT_TEST STREQUAL "ON")
|
|||
if (BUILD_COVERAGE STREQUAL "ON")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
|
||||
endif ()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DELPP_DISABLE_LOGS")
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/unittest)
|
||||
endif ()
|
||||
|
||||
|
|
|
@ -99,6 +99,7 @@ endif ()
|
|||
set(INDEX_INCLUDE_DIRS ${INDEX_INCLUDE_DIRS} PARENT_SCOPE)
|
||||
|
||||
if (KNOWHERE_BUILD_TESTS)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DELPP_DISABLE_LOGS")
|
||||
add_subdirectory(unittest)
|
||||
endif ()
|
||||
|
||||
|
|
Loading…
Reference in New Issue