# of longer test target names. Since the tests are expected to be run easily and rapidly after minor source
# changes this is the most effective structure.
-TESTS =
check_PROGRAMS =
include tests/unit/unit.mk
+TESTS = $(check_PROGRAMS)
+
+tests: $(check_PROGRAMS)
AUTOMAKE_OPTIONS = foreign
FSLD = $(top_builddir)/libfreeswitch.la $(top_builddir)/libs/apr/libapr-1.la $(top_builddir)/libs/apr-util/libaprutil-1.la
-TESTS += tests/unit/switch_event
check_PROGRAMS += tests/unit/switch_event
tests_unit_switch_event_SOURCES = tests/unit/switch_event.c
tests_unit_switch_event_LDADD = $(FSLD)
tests_unit_switch_event_LDFLAGS = $(SWITCH_AM_LDFLAGS) -ltap
-TESTS += tests/unit/switch_hash
check_PROGRAMS += tests/unit/switch_hash
tests_unit_switch_hash_SOURCES = tests/unit/switch_hash.c