Skip to content

Commit 6b8485e

Browse files
committed
Revert SVS disabling changes made in f670214
1 parent 4a33ae8 commit 6b8485e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ endif
197197

198198
flow_test:
199199
$(SHOW)poetry install $(POETRY_ARGS)
200-
$(SHOW)poetry run pytest tests/flow/$(TEST) --deselect=tests/flow/test_svs.py -v -s
200+
$(SHOW)poetry run pytest tests/flow/$(TEST) -v -s
201201

202202
.PHONY: flow_test
203203

tests/unit/CMakeLists.txt

+6-3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ target_link_libraries(test_fp16 PUBLIC gtest_main VectorSimilarity)
6060
target_link_libraries(test_int8 PUBLIC gtest_main VectorSimilarity)
6161
target_link_libraries(test_uint8 PUBLIC gtest_main VectorSimilarity)
6262

63+
if(USE_SVS)
64+
add_executable(test_svs ../utils/mock_thread_pool.cpp test_svs.cpp unit_test_utils.cpp)
65+
target_link_libraries(test_svs PUBLIC gtest_main VectorSimilarity)
66+
endif()
67+
6368
include(GoogleTest)
6469

6570
gtest_discover_tests(test_hnsw)
@@ -76,7 +81,5 @@ gtest_discover_tests(test_int8 TEST_PREFIX INT8UNIT_)
7681
gtest_discover_tests(test_uint8 TEST_PREFIX UINT8UNIT_)
7782

7883
if(USE_SVS)
79-
add_executable(test_svs ../utils/mock_thread_pool.cpp test_svs.cpp unit_test_utils.cpp)
80-
target_link_libraries(test_svs PUBLIC gtest_main VectorSimilarity)
8184
gtest_discover_tests(test_svs)
82-
endif()
85+
endif()

0 commit comments

Comments
 (0)