From 0bb4f37335d4d8db34fd31f768a6326c19fc3999 Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Thu, 20 Jun 2019 10:45:44 -0400 Subject: [v4_1_esv_r15_pl] Added unit tests for CVE patches common/tests/Makefile.am common/tests/option_unittest.c --- common/tests/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/tests/Makefile.am b/common/tests/Makefile.am index 107a9295..cc8f42f5 100644 --- a/common/tests/Makefile.am +++ b/common/tests/Makefile.am @@ -8,7 +8,7 @@ ATF_TESTS = if HAVE_ATF -ATF_TESTS += alloc_unittest ns_name_unittest +ATF_TESTS += alloc_unittest ns_name_unittest option_unittest alloc_unittest_SOURCES = test_alloc.c $(top_srcdir)/tests/t_api_dhcp.c alloc_unittest_LDADD = $(ATF_LDFLAGS) @@ -20,6 +20,11 @@ ns_name_unittest_LDADD = $(ATF_LDFLAGS) ns_name_unittest_LDADD += ../libdhcp.a \ ../../omapip/libomapi.a ../../dst/libdst.a ../../minires/libres.a +option_unittest_SOURCES = option_unittest.c $(top_srcdir)/tests/t_api_dhcp.c +option_unittest_LDADD = $(ATF_LDFLAGS) +option_unittest_LDADD += ../libdhcp.a \ + ../../omapip/libomapi.a ../../dst/libdst.a ../../minires/libres.a + check: $(ATF_TESTS) sh ${top_srcdir}/tests/unittest.sh -- cgit v1.2.1