Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
faiss
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
faiss
Commits
6e40d668
Unverified
Commit
6e40d668
authored
Jun 04, 2018
by
Lucas Hosseini
Committed by
GitHub
Jun 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move python tests back together with C++ tests. (#479)
parent
fd63f06e
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
10 deletions
+6
-10
.travis.yml
.travis.yml
+0
-1
Makefile
Makefile
+5
-5
Makefile
python/Makefile
+1
-4
test_build_blocks.py
tests/test_build_blocks.py
+0
-0
test_factory.py
tests/test_factory.py
+0
-0
test_index.py
tests/test_index.py
+0
-0
test_index_composite.py
tests/test_index_composite.py
+0
-0
No files found.
.travis.yml
View file @
6e40d668
...
@@ -73,4 +73,3 @@ install:
...
@@ -73,4 +73,3 @@ install:
script
:
script
:
-
make test
-
make test
-
make -C python test
Makefile
View file @
6e40d668
...
@@ -62,8 +62,9 @@ depend:
...
@@ -62,8 +62,9 @@ depend:
#############################
#############################
# Tests
# Tests
test
:
libfaiss.a
test
:
libfaiss.a
py
make
-C
tests run
make
-C
tests run
PYTHONPATH
=
./python
$(PYTHON)
-m
unittest discover tests/
-v
#############################
#############################
...
@@ -79,13 +80,12 @@ demos: libfaiss.a
...
@@ -79,13 +80,12 @@ demos: libfaiss.a
misc/test_blas
:
misc/test_blas.cpp
misc/test_blas
:
misc/test_blas.cpp
$(CXX)
$(CXXFLAG)
$(LDFLAGS)
$(LIBS)
-o
$@
$^
$(CXX)
$(CXXFLAG)
$(LDFLAGS)
$(LIBS)
-o
$@
$^
#############################
#############################
# Python
# Python
py
:
python/_swigfaiss.so
py
:
$(MAKE)
-C
python
python/_swigfaiss.so
:
libfaiss.a
$(MAKE)
-C
python _swigfaiss.so
.PHONY
:
all clean default demos install installdirs py test uninstall
.PHONY
:
all clean default demos install installdirs py test uninstall
python/Makefile
View file @
6e40d668
...
@@ -48,7 +48,4 @@ clean:
...
@@ -48,7 +48,4 @@ clean:
rm
-f
swigfaiss.py swigfaiss_gpu.py
rm
-f
swigfaiss.py swigfaiss_gpu.py
rm
-f
_swigfaiss.so _swigfaiss_gpu.so
rm
-f
_swigfaiss.so _swigfaiss_gpu.so
test
:
_swigfaiss.so
.PHONY
:
all clean cpu gpu
PYTHONPATH
=
./
$(PYTHON)
-m
unittest discover tests/
-v
.PHONY
:
all clean cpu gpu test
python/
tests/test_build_blocks.py
→
tests/test_build_blocks.py
View file @
6e40d668
File moved
python/
tests/test_factory.py
→
tests/test_factory.py
View file @
6e40d668
File moved
python/
tests/test_index.py
→
tests/test_index.py
View file @
6e40d668
File moved
python/
tests/test_index_composite.py
→
tests/test_index_composite.py
View file @
6e40d668
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment