summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-01-09 12:20:25 -0500
committerAnthony G. Basile <blueness@gentoo.org>2014-01-09 12:21:20 -0500
commit7ed87c74dfb81761cbcefc10cd4f79394a1d36a3 (patch)
treed42454fd7146d18041770ace67e7d623bdc77830 /test/Makefile.am
parent0a6fb50746ab00d650145cf17fc1a15f109bc386 (diff)
move utf8 functions from libudev-private.h to utf8.h
There's now some more obvious overlap amongst the two utf8 validation functions, but no more than there already was previously. This also adds some menial tests for anyone who wants to do more merging of these two in the future. Adopted for eudev: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index eac141f121..a9c28c9316 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -8,7 +8,8 @@ AM_CPPFLAGS = \
noinst_PROGRAMS = \
test-libudev \
- test-udev
+ test-udev \
+ test_utf8
test_libudev_SOURCES = \
test-libudev.c
@@ -30,6 +31,15 @@ test_udev_LDADD = \
$(BLKID_LIBS) \
$(SELINUX_LIBS)
+test_utf8_SOURCES = \
+ test-utf8.c
+
+test_utf8_CFLAGS = \
+ $(AM_CFLAGS)
+
+test_utf8_LDADD = \
+ $(top_builddir)/src/libudev/libudev-private.la
+
if HAVE_LIBKMOD
test_udev_LDADD += $(KMOD_LIBS)
endif