aboutsummaryrefslogtreecommitdiff
path: root/lib/util/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-21 15:53:14 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-10-24 15:57:18 +0200
commit7f89eb3cfff465cf32d03a2ae6919252eae67e9b (patch)
treeed776d71106000dfa34ad4de3402fff6fea6c56a /lib/util/Makemodule.am
parentc4ab32879df8b5e83b0ebd091ce2c750f53f5633 (diff)
libutil: add a string list helper to replace some of the adhoc ones
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util/Makemodule.am')
-rw-r--r--lib/util/Makemodule.am7
1 files changed, 5 insertions, 2 deletions
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)