texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/tests/other/index_collation_test.texi: modif


From: Patrice Dumas
Subject: branch master updated: * tp/tests/other/index_collation_test.texi: modify test file to have the difference between strxfrm_l and Perl Unicode::Collate used in texi2any with Non-ignorable variable weighting show up in test output.
Date: Wed, 14 Feb 2024 10:29:35 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 4afdefd46a * tp/tests/other/index_collation_test.texi: modify test 
file to have the difference between strxfrm_l and Perl Unicode::Collate used in 
texi2any with Non-ignorable variable weighting show up in test output.
4afdefd46a is described below

commit 4afdefd46a1fe9f90a55c89831fb2a18b6030e7e
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Feb 14 16:29:31 2024 +0100

    * tp/tests/other/index_collation_test.texi: modify test file to have
    the difference between strxfrm_l and Perl Unicode::Collate used in
    texi2any with Non-ignorable variable weighting show up in test
    output.
    
    * tp/tests/Makefile.onetst, tp/tests/other/list-of-tests
    (index_collation_test_collation_locale_en_US): test with
    XS_STRXFRM_COLLATION_LOCALE='en_US.utf-8' to find the collating
    locale on my Debian testing.
---
 ChangeLog                                          | 12 +++++++++++
 tp/tests/Makefile.onetst                           |  1 +
 tp/tests/other/index_collation_test.texi           |  3 +++
 tp/tests/other/list-of-tests                       |  2 ++
 .../index_collation_test.txt                       |  6 ++++++
 .../index_collation_test.txt                       |  6 ++++++
 .../index_collation_test.1                         |  0
 .../index_collation_test.2                         |  0
 .../index_collation_test.txt                       | 10 +++++++--
 .../index_collation_test.txt                       |  6 ++++++
 .../index_collation_test.txt                       |  6 ++++++
 .../index_collation_test.txt                       |  6 ++++++
 ..._index_collation_test_collation_locale_en_US.sh | 25 ++++++++++++++++++++++
 13 files changed, 81 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4615b83842..7a4fe078c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2024-02-14  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/tests/other/index_collation_test.texi: modify test file to have
+       the difference between strxfrm_l and Perl Unicode::Collate used in
+       texi2any with Non-ignorable variable weighting show up in test
+       output.
+
+       * tp/tests/Makefile.onetst, tp/tests/other/list-of-tests
+       (index_collation_test_collation_locale_en_US): test with
+       XS_STRXFRM_COLLATION_LOCALE='en_US.utf-8' to find the collating
+       locale on my Debian testing.
+
 2024-02-14  Patrice Dumas  <pertusus@free.fr>
 
        * tp/tests/run_parser_all.sh (check_strxfrm_ok): skip test if
diff --git a/tp/tests/Makefile.onetst b/tp/tests/Makefile.onetst
index a24640a6be..dbfe4b01f0 100644
--- a/tp/tests/Makefile.onetst
+++ b/tp/tests/Makefile.onetst
@@ -144,6 +144,7 @@ type_other_one_test_files_generated_list =  \
     test_scripts/other_index_collation_test_plaintext.sh \
     test_scripts/other_index_collation_test_collation_language.sh \
     test_scripts/other_index_collation_test_collation_locale_en.sh \
+    test_scripts/other_index_collation_test_collation_locale_en_US.sh \
     test_scripts/other_index_collation_test_collation_locale_sv.sh \
     test_scripts/other_index_collation_test_documentlanguage_collation.sh
 
diff --git a/tp/tests/other/index_collation_test.texi 
b/tp/tests/other/index_collation_test.texi
index b468371d11..0930089fc8 100644
--- a/tp/tests/other/index_collation_test.texi
+++ b/tp/tests/other/index_collation_test.texi
@@ -8,7 +8,10 @@
 @node Chapter
 @chapter chap
 
+@cindex cdab
 @cindex e
+@cindex c e
+@cindex c d ! a-b
 @cindex @'e
 @cindex z
 @cindex ö
diff --git a/tp/tests/other/list-of-tests b/tp/tests/other/list-of-tests
index 05b0fd3e50..963befe46b 100644
--- a/tp/tests/other/list-of-tests
+++ b/tp/tests/other/list-of-tests
@@ -17,6 +17,8 @@ index_collation_test_collation_language 
index_collation_test.texi --plaintext -c
 
 index_collation_test_collation_locale_en index_collation_test.texi --plaintext 
-c XS_STRXFRM_COLLATION_LOCALE='en.utf-8'
 
+index_collation_test_collation_locale_en_US index_collation_test.texi 
--plaintext -c XS_STRXFRM_COLLATION_LOCALE='en_US.utf-8'
+
 index_collation_test_collation_locale_sv index_collation_test.texi --plaintext 
-c XS_STRXFRM_COLLATION_LOCALE='sv_SE.utf8'
 
 index_collation_test_documentlanguage_collation index_collation_test.texi 
--plaintext -c DOCUMENTLANGUAGE_COLLATION=1
diff --git 
a/tp/tests/other/res_parser/index_collation_test_collation_language/index_collation_test.txt
 
b/tp/tests/other/res_parser/index_collation_test_collation_language/index_collation_test.txt
index 4fbdfea689..4afcfb56e0 100644
--- 
a/tp/tests/other/res_parser/index_collation_test_collation_language/index_collation_test.txt
+++ 
b/tp/tests/other/res_parser/index_collation_test_collation_language/index_collation_test.txt
@@ -6,6 +6,9 @@ top
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * z:                                     Chapter.               (line 6)
@@ -16,6 +19,9 @@ Appendix A Indices
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * z:                                     Chapter.               (line 6)
diff --git 
a/tp/tests/other/res_parser/index_collation_test_collation_locale_en/index_collation_test.txt
 
b/tp/tests/other/res_parser/index_collation_test_collation_locale_en/index_collation_test.txt
index cdde181904..92ee85a541 100644
--- 
a/tp/tests/other/res_parser/index_collation_test_collation_locale_en/index_collation_test.txt
+++ 
b/tp/tests/other/res_parser/index_collation_test_collation_locale_en/index_collation_test.txt
@@ -6,6 +6,9 @@ top
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * ö:                                     Chapter.               (line 6)
@@ -16,6 +19,9 @@ Appendix A Indices
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * ö:                                     Chapter.               (line 6)
diff --git 
a/tp/tests/other/res_parser/index_collation_test_collation_locale_en_US/index_collation_test.1
 
b/tp/tests/other/res_parser/index_collation_test_collation_locale_en_US/index_collation_test.1
new file mode 100644
index 0000000000..e69de29bb2
diff --git 
a/tp/tests/other/res_parser/index_collation_test_collation_locale_en_US/index_collation_test.2
 
b/tp/tests/other/res_parser/index_collation_test_collation_locale_en_US/index_collation_test.2
new file mode 100644
index 0000000000..e69de29bb2
diff --git 
a/tp/tests/other/res_parser/index_collation_test_collation_language/index_collation_test.txt
 
b/tp/tests/other/res_parser/index_collation_test_collation_locale_en_US/index_collation_test.txt
similarity index 60%
copy from 
tp/tests/other/res_parser/index_collation_test_collation_language/index_collation_test.txt
copy to 
tp/tests/other/res_parser/index_collation_test_collation_locale_en_US/index_collation_test.txt
index 4fbdfea689..ee06f8c4c5 100644
--- 
a/tp/tests/other/res_parser/index_collation_test_collation_language/index_collation_test.txt
+++ 
b/tp/tests/other/res_parser/index_collation_test_collation_locale_en_US/index_collation_test.txt
@@ -6,18 +6,24 @@ top
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
-* z:                                     Chapter.               (line 6)
 * ö:                                     Chapter.               (line 6)
+* z:                                     Chapter.               (line 6)
 
 Appendix A Indices
 ******************
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
-* z:                                     Chapter.               (line 6)
 * ö:                                     Chapter.               (line 6)
+* z:                                     Chapter.               (line 6)
 
diff --git 
a/tp/tests/other/res_parser/index_collation_test_collation_locale_sv/index_collation_test.txt
 
b/tp/tests/other/res_parser/index_collation_test_collation_locale_sv/index_collation_test.txt
index 4fbdfea689..b6236dcc45 100644
--- 
a/tp/tests/other/res_parser/index_collation_test_collation_locale_sv/index_collation_test.txt
+++ 
b/tp/tests/other/res_parser/index_collation_test_collation_locale_sv/index_collation_test.txt
@@ -6,6 +6,9 @@ top
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * z:                                     Chapter.               (line 6)
@@ -16,6 +19,9 @@ Appendix A Indices
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * z:                                     Chapter.               (line 6)
diff --git 
a/tp/tests/other/res_parser/index_collation_test_documentlanguage_collation/index_collation_test.txt
 
b/tp/tests/other/res_parser/index_collation_test_documentlanguage_collation/index_collation_test.txt
index 1aacbb67b2..36cd2de7b9 100644
--- 
a/tp/tests/other/res_parser/index_collation_test_documentlanguage_collation/index_collation_test.txt
+++ 
b/tp/tests/other/res_parser/index_collation_test_documentlanguage_collation/index_collation_test.txt
@@ -6,6 +6,9 @@ top
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * z:                                     Chapter.               (line 6)
@@ -16,6 +19,9 @@ Appendix A Indices
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * ö:                                     Chapter.               (line 6)
diff --git 
a/tp/tests/other/res_parser/index_collation_test_plaintext/index_collation_test.txt
 
b/tp/tests/other/res_parser/index_collation_test_plaintext/index_collation_test.txt
index cdde181904..92ee85a541 100644
--- 
a/tp/tests/other/res_parser/index_collation_test_plaintext/index_collation_test.txt
+++ 
b/tp/tests/other/res_parser/index_collation_test_plaintext/index_collation_test.txt
@@ -6,6 +6,9 @@ top
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * ö:                                     Chapter.               (line 6)
@@ -16,6 +19,9 @@ Appendix A Indices
 
 * Menu:
 
+* c d ! a-b:                             Chapter.               (line 6)
+* c e:                                   Chapter.               (line 6)
+* cdab:                                  Chapter.               (line 6)
 * e:                                     Chapter.               (line 6)
 * é:                                     Chapter.               (line 6)
 * ö:                                     Chapter.               (line 6)
diff --git 
a/tp/tests/test_scripts/other_index_collation_test_collation_locale_en_US.sh 
b/tp/tests/test_scripts/other_index_collation_test_collation_locale_en_US.sh
new file mode 100755
index 0000000000..2c9fb36f4a
--- /dev/null
+++ b/tp/tests/test_scripts/other_index_collation_test_collation_locale_en_US.sh
@@ -0,0 +1,25 @@
+#! /bin/sh
+# This file generated by maintain/regenerate_cmd_tests.sh
+
+if test z"$srcdir" = "z"; then
+  srcdir=.
+fi
+
+one_test_logs_dir=test_log
+
+
+
+if test "z$OTHER_TESTS" != z"yes"; then
+  echo "Skipping other tests that are not easily reproducible"
+  exit 77
+fi
+
+dir=other
+name='index_collation_test_collation_locale_en_US'
+mkdir -p $dir
+
+"$srcdir"/run_parser_all.sh -dir $dir $name
+exit_status=$?
+cat $dir/$one_test_logs_dir/$name.log
+exit $exit_status
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]