From 7f89eb3cfff465cf32d03a2ae6919252eae67e9b Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 21 Sep 2023 15:53:14 +0200 Subject: libutil: add a string list helper to replace some of the adhoc ones Signed-off-by: David Oberhollenzer --- lib/util/Makemodule.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/util/Makemodule.am') diff --git a/lib/util/Makemodule.am b/lib/util/Makemodule.am index 9b2065a..24fb50b 100644 --- a/lib/util/Makemodule.am +++ b/lib/util/Makemodule.am @@ -10,7 +10,7 @@ libutil_a_SOURCES = include/util/util.h include/util/str_table.h \ lib/util/src/source_date_epoch.c lib/util/src/file_cmp.c \ lib/util/src/hex_decode.c lib/util/src/base64_decode.c \ lib/util/src/get_line.c lib/util/src/split_line.c \ - lib/util/src/parse_int.c + lib/util/src/parse_int.c lib/util/src/strlist.c include/util/strlist.h libutil_a_CFLAGS = $(AM_CFLAGS) libutil_a_CPPFLAGS = $(AM_CPPFLAGS) @@ -87,11 +87,14 @@ test_split_line_LDADD = libutil.a libcompat.a test_parse_int_SOURCES = lib/util/test/parse_int.c test_parse_int_LDADD = libutil.a libcompat.a +test_strlist_SOURCES = lib/util/test/strlist.c +test_strlist_LDADD = libutil.a libcompat.a + LIBUTIL_TESTS = \ test_str_table test_rbtree test_xxhash test_threadpool test_ismemzero \ test_canonicalize_name test_filename_sane test_filename_sane_w32 \ test_sdate_epoch test_hex_decode test_base64_decode test_get_line \ - test_split_line test_parse_int + test_split_line test_parse_int test_strlist check_PROGRAMS += $(LIBUTIL_TESTS) TESTS += $(LIBUTIL_TESTS) -- cgit v1.2.3