Makefile.am 2.47 KB
Newer Older
1 2 3 4 5 6 7 8 9
# Rules for the test code (use `make check` to execute)
include $(top_srcdir)/globals.mk

AM_CXXFLAGS = -I$(top_srcdir)/src
AM_LDFLAGS = $(CPPUNIT_LIBS) $(top_builddir)/src/libring.la
check_PROGRAMS =

####### Unit Test ########

10 11 12 13 14 15
#
# account_factory
#
check_PROGRAMS += ut_account_factory
ut_account_factory_SOURCES = account_factory/testAccount_factory.cpp

Adrien Béraud's avatar
Adrien Béraud committed
16 17 18 19 20 21 22
#
# certstore
#
check_PROGRAMS += ut_certstore
ut_certstore_SOURCES = certstore.cpp
ut_certstore_LDADD = @OPENDHT_LIBS@

23 24 25 26 27 28 29
#
# scheduler
#
check_PROGRAMS += ut_scheduler
ut_scheduler_SOURCES = scheduler.cpp
ut_scheduler_LDADD = @OPENDHT_LIBS@

30 31 32 33 34 35
#
# base64
#
check_PROGRAMS += ut_base64
ut_base64_SOURCES = base64/base64.cpp

Guillaume Roguez's avatar
Guillaume Roguez committed
36 37 38 39 40 41
#
# channel
#
check_PROGRAMS += ut_channel
ut_channel_SOURCES = channel/testChannel.cpp

42 43 44 45 46 47
#
# map_utils
#
check_PROGRAMS += ut_map_utils
ut_map_utils_SOURCES = map_utils/testMap_utils.cpp

48 49 50 51 52 53
#
# fileutils
#
check_PROGRAMS += ut_fileutils
ut_fileutils_SOURCES = fileutils/testFileutils.cpp

54
#
55 56 57 58 59
# smartools
#
check_PROGRAMS += ut_smartools
ut_smartools_SOURCES = smartools/testSmartools.cpp

60 61 62 63 64 65
#
# utf8_utils
#
check_PROGRAMS += ut_utf8_utils
ut_utf8_utils_SOURCES = utf8_utils/testUtf8_utils.cpp

66 67 68 69 70 71
#
# string_utils
#
check_PROGRAMS += ut_string_utils
ut_string_utils_SOURCES = string_utils/testString_utils.cpp

72 73
#
# video_input
74 75 76 77
#
check_PROGRAMS += ut_video_input
ut_video_input_SOURCES = media/video/testVideo_input.cpp

78 79 80 81 82 83
#
# media_encoder
#
check_PROGRAMS += ut_media_encoder
ut_media_encoder_SOURCES = media/test_media_encoder.cpp

Philippe Gorley's avatar
Philippe Gorley committed
84 85 86
#
# media_decoder
#
87
check_PROGRAMS += ut_media_decoder
Philippe Gorley's avatar
Philippe Gorley committed
88 89 90
ut_media_decoder_SOURCES = media/test_media_decoder.cpp

#
91 92 93 94 95
# media_filter
#
check_PROGRAMS += ut_media_filter
ut_media_filter_SOURCES = media/test_media_filter.cpp

96 97 98 99 100 101
#
# resampler
#
check_PROGRAMS += ut_resampler
ut_resampler_SOURCES = media/audio/test_resampler.cpp

102 103 104 105 106 107
#
# media_frame
#
check_PROGRAMS += ut_media_frame
ut_media_frame_SOURCES = media/test_media_frame.cpp

108 109 110 111 112 113
#
# video_scaler
#
check_PROGRAMS += ut_video_scaler
ut_video_scaler_SOURCES = media/video/test_video_scaler.cpp

Philippe Gorley's avatar
Philippe Gorley committed
114 115 116 117 118 119
#
# audio_frame_resizer
#
check_PROGRAMS += ut_audio_frame_resizer
ut_audio_frame_resizer_SOURCES = media/audio/test_audio_frame_resizer.cpp

120 121 122 123 124
#
# call
#
check_PROGRAMS += ut_call
ut_call_SOURCES = call/call.cpp
125 126 127 128

#
# connectionManager
#
129
check_PROGRAMS += ut_connectionManager
130 131
ut_connectionManager_SOURCES = connectionManager/connectionManager.cpp

132 133 134 135 136 137
#
# fileTransfer
#
check_PROGRAMS += ut_fileTransfer
ut_fileTransfer_SOURCES = fileTransfer/fileTransfer.cpp

138
TESTS = $(check_PROGRAMS)