summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2013-02-12 09:19:36 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-12 10:26:34 (GMT)
commite2e73d11d463dd443832f6f96633fb8afddf1bf5 (patch)
tree2b7631fad95d3be0c4d6e39957721ce99dc790bc /Makefile.am
parent1dcb7cd93631d04efa72afcf9ebf6f9768db59e8 (diff)
downloadconnman-e2e73d11d463dd443832f6f96633fb8afddf1bf5.zip
connman-e2e73d11d463dd443832f6f96633fb8afddf1bf5.tar.gz
connman-e2e73d11d463dd443832f6f96633fb8afddf1bf5.tar.bz2
test-iptables: Add unit test for iptables
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 26081d8..15d59da 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