mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
+ Unit testing requires cppunit. + add options for CMake and Autotools to build opendht_unit_tests. + add sample tests for InfoHash + modify Dockerfiles and Travis build to run `make test` + Change lowbit signature to return an int instead of an unsigned.
10 lines
305 B
Makefile
10 lines
305 B
Makefile
if OPENDHT_TESTS
|
|
bin_PROGRAMS = opendht_unit_tests
|
|
|
|
AM_CPPFLAGS = -I../include
|
|
|
|
opendht_unit_tests_SOURCES = tests_runner.cpp infohashtester.cpp
|
|
opendht_unit_tests_HEADERS = infohashtester.h
|
|
opendht_unit_tests_LDFLAGS = -lopendht -lcppunit -L@top_builddir@/src/.libs @Argon2_LDFLAGS@ @GnuTLS_LIBS@
|
|
endif
|