summaryrefslogtreecommitdiffstats
path: root/fs/unicode/Makefile
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi2019-04-25 19:56:01 +0200
committerTheodore Ts'o2019-04-25 19:56:01 +0200
commitf0d6cc00325b3887f9a9df7755acf85f52b23ff2 (patch)
treea73e6ca7c911df9b2d0babb02ffe6b44bc108659 /fs/unicode/Makefile
parentunicode: implement higher level API for string handling (diff)
downloadkernel-qcow2-linux-f0d6cc00325b3887f9a9df7755acf85f52b23ff2.tar.gz
kernel-qcow2-linux-f0d6cc00325b3887f9a9df7755acf85f52b23ff2.tar.xz
kernel-qcow2-linux-f0d6cc00325b3887f9a9df7755acf85f52b23ff2.zip
unicode: introduce test module for normalized utf8 implementation
This implements a in-kernel sanity test module for the utf8 normalization core. At probe time, it will run basic sequences through the utf8n core, to identify problems will equivalent sequences and normalization/casefold code. This is supposed to be useful for regression testing when adding support for a new version of utf8 to linux. Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/unicode/Makefile')
-rw-r--r--fs/unicode/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/unicode/Makefile b/fs/unicode/Makefile
index bfb0360687df..671d31f83006 100644
--- a/fs/unicode/Makefile
+++ b/fs/unicode/Makefile
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_UNICODE) += unicode.o
+obj-$(CONFIG_UNICODE_NORMALIZATION_SELFTEST) += utf8-selftest.o
unicode-y := utf8-norm.o utf8-core.o