mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
40 lines
1.2 KiB
PHP
40 lines
1.2 KiB
PHP
|
if BUILD_TESTS
|
||
|
|
||
|
TESTS = messenger_autotest crypto_test
|
||
|
|
||
|
check_PROGRAMS = messenger_autotest crypto_test
|
||
|
|
||
|
messenger_autotest_SOURCES = \
|
||
|
$(top_srcdir)/auto_tests/messenger_test.c
|
||
|
|
||
|
messenger_autotest_CFLAGS = \
|
||
|
$(LIBSODIUM_CFLAGS) \
|
||
|
$(CHECK_CFLAGS)
|
||
|
|
||
|
messenger_autotest_LDADD = \
|
||
|
$(LIBSODIUM_LDFLAGS) \
|
||
|
libtoxcore.la \
|
||
|
$(LIBSODIUM_LIBS) \
|
||
|
$(CHECK_LIBS)
|
||
|
|
||
|
|
||
|
crypto_test_SOURCES = $(top_srcdir)/auto_tests/crypto_test.c
|
||
|
|
||
|
crypto_test_CFLAGS = $(LIBSODIUM_CFLAGS) \
|
||
|
$(CHECK_CFLAGS)
|
||
|
|
||
|
crypto_test_LDADD = $(LIBSODIUM_LDFLAGS) \
|
||
|
libtoxcore.la \
|
||
|
$(LIBSODIUM_LIBS) \
|
||
|
$(CHECK_LIBS)
|
||
|
|
||
|
endif
|
||
|
|
||
|
EXTRA_DIST += $(top_srcdir)/auto_tests/CMakeLists.txt \
|
||
|
$(top_srcdir)/auto_tests/run_tests \
|
||
|
$(top_srcdir)/auto_tests/cmake/messenger_test.cmake \
|
||
|
$(top_srcdir)/auto_tests/cmake/crypto_test.cmake \
|
||
|
$(top_srcdir)/auto_tests/cmake/friends_test.cmake \
|
||
|
$(top_srcdir)/auto_tests/friends_test.c
|
||
|
|