diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2013-03-19 14:33:36 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-03-19 15:53:08 +0200 |
commit | 3b0ff968ff195e8551587e10cb3f1b19a1aa4050 (patch) | |
tree | 3dcbedcc0b8584a6622c1e8e05816ac65b25637e /Makefile.am | |
parent | 49e5f346922db3298101edc4dc6d1e36dfefb5ca (diff) | |
download | connman-3b0ff968ff195e8551587e10cb3f1b19a1aa4050.tar.gz connman-3b0ff968ff195e8551587e10cb3f1b19a1aa4050.tar.bz2 connman-3b0ff968ff195e8551587e10cb3f1b19a1aa4050.zip |
build: Run ippool test during make distcheck
test-ippool is a pure unit test can therefore be part of the
distcheck target.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am index 55b0bbac..5d5f63a7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -240,7 +240,7 @@ client_connmanctl_SOURCES = $(gdbus_sources) src/connman.h \ client_connmanctl_LDADD = @DBUS_LIBS@ @GLIB_LIBS@ -lreadline -ldl endif -noinst_PROGRAMS += unit/test-pbkdf2-sha1 unit/test-prf-sha1 +noinst_PROGRAMS += unit/test-pbkdf2-sha1 unit/test-prf-sha1 unit/test-ippool unit_test_pbkdf2_sha1_SOURCES = unit/test-pbkdf2-sha1.c \ src/shared/sha1.h src/shared/sha1.c @@ -250,7 +250,11 @@ unit_test_prf_sha1_SOURCES = unit/test-prf-sha1.c \ src/shared/sha1.h src/shared/sha1.c unit_test_prf_sha1_LDADD = @GLIB_LIBS@ -TESTS = unit/test-pbkdf2-sha1 unit/test-prf-sha1 +unit_test_ippool_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \ + src/ippool.c unit/test-ippool.c +unit_test_ippool_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ -ldl + +TESTS = unit/test-pbkdf2-sha1 unit/test-prf-sha1 unit/test-ippool if WISPR noinst_PROGRAMS += tools/wispr @@ -266,8 +270,7 @@ noinst_PROGRAMS += tools/supplicant-test \ tools/dbus-test tools/polkit-test \ tools/iptables-test tools/tap-test tools/wpad-test \ tools/stats-tool tools/private-network-test \ - tools/session-test unit/test-ippool \ - tools/iptables-unit + tools/session-test tools/iptables-unit tools_supplicant_test_SOURCES = $(gdbus_sources) tools/supplicant-test.c \ tools/supplicant-dbus.h tools/supplicant-dbus.c \ @@ -306,11 +309,6 @@ tools_session_test_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \ tools/session-api.c tools/session-test.h tools_session_test_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ -ldl -unit_test_ippool_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \ - src/ippool.c unit/test-ippool.c -unit_test_ippool_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ -ldl -unit_objects += $(unit_test_ippool_OBJECTS) - tools_iptables_unit_SOURCES = $(gdbus_sources) src/log.c \ src/iptables.c src/nat.c tools/iptables-unit.c tools_iptables_unit_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ @XTABLES_LIBS@ -ldl |