mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-22 04:15:54 -04:00
d9793f4e33
- Unit tests are now in `src/tests` - Integration tests are in `tests`
41 lines
997 B
Makefile
41 lines
997 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
######################
|
|
# Icecast unit tests #
|
|
######################
|
|
|
|
TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
|
|
$(top_srcdir)/tap-driver.sh
|
|
|
|
check_PROGRAMS =
|
|
|
|
#
|
|
# Helper library for TAP tests
|
|
#
|
|
|
|
libice_ctest_la_SOURCES = %reldir%/ctest_lib.c %reldir%/ctest_lib.h
|
|
noinst_LTLIBRARIES = libice_ctest.la
|
|
|
|
#
|
|
# Test programs
|
|
#
|
|
|
|
ctest_suite_test_SOURCES = %reldir%/ctest_suite.c
|
|
ctest_suite_test_LDADD = libice_ctest.la
|
|
check_PROGRAMS += ctest_suite.test
|
|
|
|
ctest_resourcematch_test_SOURCES = %reldir%/ctest_resourcematch.c
|
|
ctest_resourcematch_test_LDADD = libice_ctest.la icecast-resourcematch.o
|
|
check_PROGRAMS += ctest_resourcematch.test
|
|
|
|
ctest_refobject_test_SOURCES = %reldir%/ctest_refobject.c
|
|
ctest_refobject_test_LDADD = libice_ctest.la \
|
|
common/thread/libicethread.la \
|
|
common/avl/libiceavl.la \
|
|
icecast-refobject.o
|
|
check_PROGRAMS += ctest_refobject.test
|
|
|
|
|
|
# Add all programs to TESTS
|
|
TESTS = $(check_PROGRAMS)
|