diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2013-02-12 10:19:36 +0100 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-02-12 12:26:34 +0200 |
commit | e2e73d11d463dd443832f6f96633fb8afddf1bf5 (patch) | |
tree | 2b7631fad95d3be0c4d6e39957721ce99dc790bc /Makefile.am | |
parent | 1dcb7cd93631d04efa72afcf9ebf6f9768db59e8 (diff) | |
download | connman-e2e73d11d463dd443832f6f96633fb8afddf1bf5.tar.gz |
test-iptables: Add unit test for iptables
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 26081d83..15d59da7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -249,7 +249,8 @@ 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 \ - unit/test-session unit/test-ippool unit/test-nat + unit/test-session unit/test-ippool unit/test-nat \ + unit/test-iptables tools_supplicant_test_SOURCES = $(gdbus_sources) tools/supplicant-test.c \ tools/supplicant-dbus.h tools/supplicant-dbus.c \ @@ -293,6 +294,11 @@ unit_test_ippool_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \ unit_test_ippool_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ -ldl unit_objects += $(unit_test_ippool_OBJECTS) +unit_test_iptables_SOURCES = $(gdbus_sources) src/log.c \ + src/iptables.c unit/test-iptables.c +unit_test_iptables_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ @XTABLES_LIBS@ -ldl +unit_objects += $(unit_test_iptables_OBJECTS) + unit_test_nat_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \ src/iptables.c src/nat.c unit/test-nat.c unit_test_nat_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ @XTABLES_LIBS@ -ldl |