chiark / gitweb /
build: Add DHCP option test
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 9 Dec 2013 21:43:13 +0000 (23:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 12 Dec 2013 16:43:33 +0000 (11:43 -0500)
Makefile.am

index 9b5c496..6d1e27b 100644 (file)
@@ -3847,8 +3847,17 @@ lib_LTLIBRARIES += \
 endif
 
 # ------------------------------------------------------------------------------
+test_dhcp_option_SOURCES = \
+       src/libsystemd-dhcp/dhcp-protocol.h \
+       src/libsystemd-dhcp/dhcp-internal.h \
+       src/libsystemd-dhcp/dhcp-option.c \
+       src/libsystemd-dhcp/test-dhcp-option.c
+
+test_dhcp_option_LDADD = \
+       libsystemd-shared.la
+
 test_dhcp_client_SOURCES = \
-       src/libsystemd-dhcp/protocol.h \
+       src/libsystemd-dhcp/dhcp-protocol.h \
        src/systemd/sd-dhcp-client.h \
        src/libsystemd-dhcp/dhcp-client.c \
        src/libsystemd-dhcp/test-dhcp-client.c
@@ -3857,6 +3866,7 @@ test_dhcp_client_LDADD = \
        libsystemd-shared.la
 
 tests += \
+       test-dhcp-option \
        test-dhcp-client
 
 # ------------------------------------------------------------------------------