aboutsummaryrefslogtreecommitdiff
path: root/test/run-tests
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-05-14 20:53:13 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-05-14 20:53:22 +0200
commita39a4797730a09ec4fbb41c11b7dc1f7d245bc15 (patch)
tree13f2a025d52535d66cc8e1c4be0aa502ffaeab7b /test/run-tests
parent4e88af1babd6555c389b1e14316c29b78146f8f0 (diff)
Implement NFD string normalization
Diffstat (limited to 'test/run-tests')
-rwxr-xr-xtest/run-tests18
1 files changed, 10 insertions, 8 deletions
diff --git a/test/run-tests b/test/run-tests
index 4413fff..860d243 100755
--- a/test/run-tests
+++ b/test/run-tests
@@ -23,14 +23,16 @@ readonly FLAGS='
download 'auxiliary/GraphemeBreakTest.txt'
download 'auxiliary/WordBreakTest.txt'
-
-grep '^[^#]' data/CasefoldTest >casefold.in
-grep '^[^#]' data/LowercaseTest >lower.in
-grep '^[^#]' data/TitlecaseTest >title.in
-grep '^[^#]' data/UppercaseTest >upper.in
-grep '^[^#]' data/WordHumanBreakTest >wbrk-human.in
-sed -En 's/\s+//g; s/÷?#.*//g; /./p' data/GraphemeBreakTest >gbrk.in
-sed -En 's/\s+//g; s/÷?#.*//g; /./p' data/WordBreakTest >wbrk.in
+download 'NormalizationTest.txt'
+
+grep '^[^#]' data/CasefoldTest >casefold.in
+grep '^[^#]' data/LowercaseTest >lower.in
+grep '^[^#]' data/TitlecaseTest >title.in
+grep '^[^#]' data/UppercaseTest >upper.in
+grep '^[^#]' data/WordHumanBreakTest >wbrk-human.in
+sed -En 's/\s+//g; s/÷?#.*//g; /./p' data/GraphemeBreakTest >gbrk.in
+sed -En 's/\s+//g; s/÷?#.*//g; /./p' data/WordBreakTest >wbrk.in
+sed -En 's/(#|^@).*//; s/\s+$//; /./p' data/NormalizationTest >norm-nfd.in
for src in *.c
do