2018-08-16 09:24:31 -04:00
|
|
|
## 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
|
|
|
|
#
|
|
|
|
|
2022-03-13 12:24:57 -04:00
|
|
|
libice_ctest_la_SOURCES = tests/ctest_lib.c %reldir%/ctest_lib.h
|
2018-08-16 09:24:31 -04:00
|
|
|
noinst_LTLIBRARIES = libice_ctest.la
|
|
|
|
|
|
|
|
#
|
|
|
|
# Test programs
|
|
|
|
#
|
|
|
|
|
2022-03-13 12:24:57 -04:00
|
|
|
ctest_suite_test_SOURCES = tests/ctest_suite.c
|
2018-08-16 09:24:31 -04:00
|
|
|
ctest_suite_test_LDADD = libice_ctest.la
|
|
|
|
check_PROGRAMS += ctest_suite.test
|
|
|
|
|
2022-03-13 12:24:57 -04:00
|
|
|
ctest_resourcematch_test_SOURCES = tests/ctest_resourcematch.c
|
2018-08-16 09:24:31 -04:00
|
|
|
ctest_resourcematch_test_LDADD = libice_ctest.la icecast-resourcematch.o
|
|
|
|
check_PROGRAMS += ctest_resourcematch.test
|
|
|
|
|
2022-03-13 12:24:57 -04:00
|
|
|
ctest_refobject_test_SOURCES = tests/ctest_refobject.c
|
2018-08-16 09:24:31 -04:00
|
|
|
ctest_refobject_test_LDADD = libice_ctest.la \
|
|
|
|
common/thread/libicethread.la \
|
|
|
|
common/avl/libiceavl.la \
|
|
|
|
icecast-refobject.o
|
|
|
|
check_PROGRAMS += ctest_refobject.test
|
|
|
|
|
2022-03-13 12:24:57 -04:00
|
|
|
ctest_buffer_test_SOURCES = tests/ctest_buffer.c
|
2018-08-15 10:40:09 -04:00
|
|
|
ctest_buffer_test_LDADD = libice_ctest.la \
|
|
|
|
common/thread/libicethread.la \
|
|
|
|
common/avl/libiceavl.la \
|
|
|
|
icecast-refobject.o \
|
|
|
|
icecast-buffer.o
|
|
|
|
check_PROGRAMS += ctest_buffer.test
|
2018-08-16 09:24:31 -04:00
|
|
|
|
|
|
|
# Add all programs to TESTS
|
|
|
|
TESTS = $(check_PROGRAMS)
|