From e2e73d11d463dd443832f6f96633fb8afddf1bf5 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 12 Feb 2013 10:19:36 +0100 Subject: test-iptables: Add unit test for iptables --- Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile.am') 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 -- cgit v1.2.3