Skip to content

Commit 696519b

Browse files
committed
Add faiss c++ tests
1 parent dc6aa10 commit 696519b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/x86_64/test-cpp-runtime-bindings.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ echo " FAISS Build: "
4343
mkdir build && cd build
4444
# TODO: create conda env
4545
cmake -DBUILD_TESTING=ON -DFAISS_ENABLE_SVS=ON -DFAISS_ENABLE_GPU=OFF ..
46-
make -j swigfaiss
46+
make -j swigfaiss faiss_test
47+
echo "------------------------------------------------"
48+
echo " FAISS C++ tests: "
49+
./tests/faiss_test --gtest_filter=SVS.*
4750
echo "------------------------------------------------"
4851
echo " FAISS python bindings: "
4952
cd faiss/python/

0 commit comments

Comments
 (0)