]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7820 rename test file to better track the core functionality it will test
authorWilliam King <william.king@quentustech.com>
Fri, 10 Jul 2015 19:26:03 +0000 (12:26 -0700)
committerWilliam King <william.king@quentustech.com>
Fri, 10 Jul 2015 22:08:58 +0000 (15:08 -0700)
tests/unit/Makefile.am
tests/unit/switch_event.c [moved from tests/unit/event_create.c with 100% similarity]

index fd6b4028771364578ce83d10144e82eea51525a0..7577fa23b939c007140f76ba050d50ebe6aa9081 100644 (file)
@@ -1,11 +1,15 @@
 FSLD = $(top_builddir)/libfreeswitch.la $(top_builddir)/libs/apr/libapr-1.la $(top_builddir)/libs/apr-util/libaprutil-1.la
 
-TESTS = event_create
 
 if HAVE_TAP
 
-check_PROGRAMS = event_create
+TESTS = switch_event
+check_PROGRAMS = switch_event
 
+switch_event_SOURCES = switch_event.c
+switch_event_CFLAGS = $(SWITCH_AM_CFLAGS)
+switch_event_LDADD = $(FSLD)
+switch_event_LDFLAGS = $(SWITCH_AM_LDFLAGS) -ltap
 
 event_create_SOURCES = event_create.c
 event_create_CFLAGS = $(SWITCH_AM_CFLAGS)