]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8233 Clean up formatting
authorWilliam King <william.king@quentustech.com>
Fri, 9 Oct 2015 18:10:32 +0000 (11:10 -0700)
committerWilliam King <william.king@quentustech.com>
Fri, 9 Oct 2015 18:10:32 +0000 (11:10 -0700)
Makefile.am
tests/unit/unit.mk

index f00bd48a4baa7db8eb5d4c07dddcc24598e145b0..44ec7a852ef844f870cec61245532ac558e1d7cf 100644 (file)
@@ -781,9 +781,11 @@ support:
 # 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)
 
index 713fbb7d3e0233831ed90d4e8c6ef36f123e3c84..68cd2e5d395ab90cf8ccfbc715c79563bf55b551 100644 (file)
@@ -1,7 +1,6 @@
 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
@@ -9,7 +8,6 @@ tests_unit_switch_event_CFLAGS = $(SWITCH_AM_CFLAGS)
 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