This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This patch adds the testcase mentioned in the bug report to the strcoll benchmark.
A patch that solves the problem follows.
* benchtests/bench-strcoll.c: Add thai text with en_US.UTF-8 locale.
* benchtests/strcoll-inputs/wikipedia-th#en_US.UTF-8: New file.
diff --git a/benchtests/bench-strcoll.c b/benchtests/bench-strcoll.c
index ded04a6..17ccae1 100644
--- a/benchtests/bench-strcoll.c
+++ b/benchtests/bench-strcoll.c
@@ -53,7 +53,8 @@ static const char *const input_files[] = {
"lorem_ipsum#is_IS.UTF-8",
"lorem_ipsum#it_IT.UTF-8",
"lorem_ipsum#sr_RS.UTF-8",
- "lorem_ipsum#ja_JP.UTF-8"
+ "lorem_ipsum#ja_JP.UTF-8",
+ "wikipedia-th#en_US.UTF-8"
};
#define TEXTFILE_DELIMITER " \n\r\t.,?!"
Attachment:
wikipedia-th#en_US.UTF-8
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |