chiark / gitweb /
dhcp: Add tests for DHCP options, file and sname fields
[elogind.git] / Makefile.am
index 25bbcab888bff43ed8e55e66579ee18ef8a1c6eb..6d1e27b83b1853cc4b89c92e731352b86a048d88 100644 (file)
@@ -3846,6 +3846,29 @@ lib_LTLIBRARIES += \
        libnss_myhostname.la
 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/dhcp-protocol.h \
+       src/systemd/sd-dhcp-client.h \
+       src/libsystemd-dhcp/dhcp-client.c \
+       src/libsystemd-dhcp/test-dhcp-client.c
+
+test_dhcp_client_LDADD = \
+       libsystemd-shared.la
+
+tests += \
+       test-dhcp-option \
+       test-dhcp-client
+
 # ------------------------------------------------------------------------------
 if ENABLE_MACHINED
 systemd_machined_SOURCES = \