mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-18 09:14:14 +00:00
[Unit-tests] Place module tests into their module's Makefile.am, fix tests, add missing Makefile.am to mod_png, implement recursive make check.
This commit is contained in:
1 parent
5e83ef7e7b
commit
751d5ff55b
20 files changed
+186
-89
No files matched your search
@@ -1,11 +1,22 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_http_cache
|
||||
|
||||
noinst_LTLIBRARIES = libhttpcachemod.la
|
||||
libhttpcachemod_la_SOURCES = mod_http_cache.c common.c aws.c azure.c
|
||||
|
||||
mod_LTLIBRARIES = mod_http_cache.la
|
||||
mod_http_cache_la_SOURCES = mod_http_cache.c common.c aws.c azure.c
|
||||
mod_http_cache_la_SOURCES =
|
||||
mod_http_cache_la_CFLAGS = $(AM_CFLAGS)
|
||||
mod_http_cache_la_CPPFLAGS = $(CURL_CFLAGS) $(AM_CPPFLAGS)
|
||||
mod_http_cache_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_http_cache_la_LIBADD = $(switch_builddir)/libfreeswitch.la libhttpcachemod.la
|
||||
mod_http_cache_la_LDFLAGS = $(CURL_LIBS) -avoid-version -module -no-undefined -shared
|
||||
|
||||
SUBDIRS=. test
|
||||
noinst_PROGRAMS = test/test_aws
|
||||
|
||||
test_test_aws_SOURCES = test/test_aws.c
|
||||
test_test_aws_CFLAGS = $(AM_CFLAGS) -I. -DSWITCH_TEST_BASE_DIR_FOR_CONF=\"${abs_builddir}/test\" -DSWITCH_TEST_BASE_DIR_OVERRIDE=\"${abs_builddir}/test\"
|
||||
test_test_aws_LDFLAGS = $(AM_LDFLAGS) -avoid-version -no-undefined $(freeswitch_LDFLAGS) $(switch_builddir)/libfreeswitch.la $(CORE_LIBS) $(APR_LIBS)
|
||||
test_test_aws_LDADD = libhttpcachemod.la
|
||||
|
||||
TESTS = $(noinst_PROGRAMS)
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
noinst_PROGRAMS = test_aws
|
||||
AM_CFLAGS = $(SWITCH_AM_CFLAGS)
|
||||
AM_LDFLAGS = $(switch_builddir)/libfreeswitch.la -avoid-version -no-undefined $(SWITCH_AM_LDFLAGS) ../mod_http_cache.la
|
||||
TESTS = $(noinst_PROGRAMS)
|
||||
Reference in new issue
Block a user