Skip to content

Commit 2a9580f

Browse files
committed
Move C++ unit tests to their own directory.
Developer-only files - avoid including them in conda or sdist package.
1 parent 8c507d1 commit 2a9580f

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ MANIFEST
3030
.coverage
3131
.tox
3232
nosetests.xml
33+
/libpdffit2/tests/alltests
3334

3435
# Translations
3536
*.mo

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ recursive-include pdffit2module *.[ch]*
55
recursive-include examples *
66
include AUTHORS.txt LICENSE*.txt README*
77
include Makefile
8+
prune libpdffit2/tests

diffpy/pdffit2/tests/Makefile renamed to libpdffit2/tests/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
# compiler options
12-
CPPFLAGS += -I../libpdffit2 $(shell cppunit-config --cflags)
12+
CPPFLAGS += -I../ $(shell cppunit-config --cflags)
1313
LDLIBS += $(shell cppunit-config --libs)
1414

1515

@@ -19,7 +19,7 @@ all: unittest
1919

2020
# build unit test driver
2121
alltests: alltests.cc \
22-
TestPointsInSphere.cc ../libpdffit2/PointsInSphere.cc
22+
TestPointsInSphere.cc ../PointsInSphere.cc
2323

2424

2525
# execute unit tests
File renamed without changes.

0 commit comments

Comments
 (0)