[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Add tests of DOC_ENCODING_FOR_INPUT_FILE_NAME and
From: |
Patrice Dumas |
Subject: |
branch master updated: Add tests of DOC_ENCODING_FOR_INPUT_FILE_NAME and LOCALE_INPUT_FILE_NAME_ENCODING |
Date: |
Sun, 06 Mar 2022 09:57:16 -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 589dc1dc30 Add tests of DOC_ENCODING_FOR_INPUT_FILE_NAME and
LOCALE_INPUT_FILE_NAME_ENCODING
589dc1dc30 is described below
commit 589dc1dc3048487dce9ffa63f947c8ffb5d96f76
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Mar 6 15:56:47 2022 +0100
Add tests of DOC_ENCODING_FOR_INPUT_FILE_NAME and
LOCALE_INPUT_FILE_NAME_ENCODING
---
tp/tests/other/list-of-tests | 5 +++++
.../manual_include_accented_file_name_latin1.1 | 0
.../manual_include_accented_file_name_latin1.2 | 1 +
.../manual_include_accented_file_name_latin1.info | 25 ++++++++++++++++++++++
.../manual_include_accented_file_name_latin1.1 | 0
.../manual_include_accented_file_name_latin1.2 | 1 +
.../manual_include_accented_file_name_latin1.info | 22 +++++++++++++++++++
..._accented_file_name_latin1_explicit_encoding.sh | 25 ++++++++++++++++++++++
...ccented_file_name_latin1_use_locale_encoding.sh | 25 ++++++++++++++++++++++
9 files changed, 104 insertions(+)
diff --git a/tp/tests/other/list-of-tests b/tp/tests/other/list-of-tests
index e192e1d87b..e96bb17a3e 100644
--- a/tp/tests/other/list-of-tests
+++ b/tp/tests/other/list-of-tests
@@ -6,3 +6,8 @@ highlight_syntax_example highlight_example.texi --html
--init=highlight_syntax.p
# FIXME here because the included file can not be in dist
manual_include_accented_file_name_latin1
manual_include_accented_file_name_latin1.texi --info
+manual_include_accented_file_name_latin1_explicit_encoding
manual_include_accented_file_name_latin1.texi --info -c
DOC_ENCODING_FOR_INPUT_FILE_NAME=0 -c LOCALE_INPUT_FILE_NAME_ENCODING=ISO-8859-1
+
+# fails to find the latin1 encoded include file as the locale encoding
+# of the test suite is utf8
+manual_include_accented_file_name_latin1_use_locale_encoding
manual_include_accented_file_name_latin1.texi --info -c
DOC_ENCODING_FOR_INPUT_FILE_NAME=0
diff --git
a/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.1
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.1
new file mode 100644
index 0000000000..e69de29bb2
diff --git
a/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.2
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.2
new file mode 100644
index 0000000000..dbed70f47d
--- /dev/null
+++
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.2
@@ -0,0 +1 @@
+included_lat�n1.texi:4: unknown command `unknowncmd'
diff --git
a/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.info
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.info
new file mode 100644
index 0000000000..e79ffbb0a0
--- /dev/null
+++
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_explicit_encoding/manual_include_accented_file_name_latin1.info
@@ -0,0 +1,25 @@
+This is manual_include_accented_file_name_latin1.info, produced by
+texi2any version from manual_include_accented_file_name_latin1.texi.
+
+top
+***
+
+
+File: manual_include_accented_file_name_latin1.info, Node: Top, Up: (dir)
+
+This is a very simple texi manual <>.
+
+ o� �l �.
+
+
+
+
+Tag Table:
+Node: Top146
+
+End Tag Table
+
+
+Local Variables:
+coding: iso-8859-1
+End:
diff --git
a/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.1
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.1
new file mode 100644
index 0000000000..e69de29bb2
diff --git
a/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.2
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.2
new file mode 100644
index 0000000000..4c7de9a97b
--- /dev/null
+++
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.2
@@ -0,0 +1 @@
+manual_include_accented_file_name_latin1.texi:9: @include: could not find
included_latîn1.texi
diff --git
a/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.info
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.info
new file mode 100644
index 0000000000..f18736ba5d
--- /dev/null
+++
b/tp/tests/other/res_parser_html/manual_include_accented_file_name_latin1_use_locale_encoding/manual_include_accented_file_name_latin1.info
@@ -0,0 +1,22 @@
+This is manual_include_accented_file_name_latin1.info, produced by
+texi2any version from manual_include_accented_file_name_latin1.texi.
+
+top
+***
+
+
+File: manual_include_accented_file_name_latin1.info, Node: Top, Up: (dir)
+
+This is a very simple texi manual <>.
+
+
+
+Tag Table:
+Node: Top146
+
+End Tag Table
+
+
+Local Variables:
+coding: iso-8859-1
+End:
diff --git
a/tp/tests/test_scripts/other_manual_include_accented_file_name_latin1_explicit_encoding.sh
b/tp/tests/test_scripts/other_manual_include_accented_file_name_latin1_explicit_encoding.sh
new file mode 100755
index 0000000000..581d7d0dfa
--- /dev/null
+++
b/tp/tests/test_scripts/other_manual_include_accented_file_name_latin1_explicit_encoding.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='manual_include_accented_file_name_latin1_explicit_encoding'
+mkdir -p $dir
+
+"$srcdir"/run_parser_all.sh -dir $dir $name
+exit_status=$?
+cat $dir/$one_test_logs_dir/$name.log
+exit $exit_status
+
diff --git
a/tp/tests/test_scripts/other_manual_include_accented_file_name_latin1_use_locale_encoding.sh
b/tp/tests/test_scripts/other_manual_include_accented_file_name_latin1_use_locale_encoding.sh
new file mode 100755
index 0000000000..43241dae99
--- /dev/null
+++
b/tp/tests/test_scripts/other_manual_include_accented_file_name_latin1_use_locale_encoding.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='manual_include_accented_file_name_latin1_use_locale_encoding'
+mkdir -p $dir
+
+"$srcdir"/run_parser_all.sh -dir $dir $name
+exit_status=$?
+cat $dir/$one_test_logs_dir/$name.log
+exit $exit_status
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Add tests of DOC_ENCODING_FOR_INPUT_FILE_NAME and LOCALE_INPUT_FILE_NAME_ENCODING,
Patrice Dumas <=
- Prev by Date:
branch master updated: * tp/Texinfo/Common.pm (%default_parser_common_customization): set DOC_ENCODING_FOR_INPUT_FILE_NAME as a parser customization variable. Report from Gavin.
- Next by Date:
branch master updated: * tp/init/latex2html.pm (l2h_process, l2h_to_html) (l2h_change_image_file_names, l2h_finish, l2h_from_cache): do not use a volume, consistently with the HTML converter. Do not force encoding variables to UTF-8, but instead encode separately the directory as in the HTML Converter and the files related to latex2html in UTF-8, such that the files output by latex2html only contains UTF-8. Also encode separately the file names in the latex2html command line and the remaining of the command lin [...]
- Previous by thread:
branch master updated: * tp/Texinfo/Common.pm (%default_parser_common_customization): set DOC_ENCODING_FOR_INPUT_FILE_NAME as a parser customization variable. Report from Gavin.
- Next by thread:
branch master updated: * tp/init/latex2html.pm (l2h_process, l2h_to_html) (l2h_change_image_file_names, l2h_finish, l2h_from_cache): do not use a volume, consistently with the HTML converter. Do not force encoding variables to UTF-8, but instead encode separately the directory as in the HTML Converter and the files related to latex2html in UTF-8, such that the files output by latex2html only contains UTF-8. Also encode separately the file names in the latex2html command line and the remaining of the command lin [...]
- Index(es):