aboutsummaryrefslogtreecommitdiff
path: root/test/gen-test-data
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-05-04 01:10:47 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-05-04 01:10:47 +0200
commit250a3031b25530ccf172c67772d861095dac8022 (patch)
treed8e7d7538fdbe03c17c061d95fe7cddac1dc4b05 /test/gen-test-data
parent80547771dec846193f8ed963e93290baeae6fa5d (diff)
Inline gen-test-data
Diffstat (limited to 'test/gen-test-data')
-rwxr-xr-xtest/gen-test-data18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/gen-test-data b/test/gen-test-data
deleted file mode 100755
index 50028b8..0000000
--- a/test/gen-test-data
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-set -e
-
-download()
-{
- s="$(basename "$1" .txt)"
- test -f "data/$s" ||
- wget -q "https://www.unicode.org/Public/15.1.0/ucd/$1" -O "data/$s"
-}
-
-download 'auxiliary/GraphemeBreakTest.txt'
-download 'auxiliary/WordBreakTest.txt'
-
-grep '^[^#]' data/LowercaseTest >lower.in
-grep '^[^#]' data/UppercaseTest >upper.in
-sed -En 's/\s+//g; s/÷?#.*//g; /./p' data/GraphemeBreakTest >gnext.in
-sed -En 's/\s+//g; s/÷?#.*//g; /./p' data/WordBreakTest >wnext.in