texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/tests/README: mention that input/non_ascii.t


From: Gavin D. Smith
Subject: branch master updated: * tp/tests/README: mention that input/non_ascii.tar needs to be deleted manually. * tp/tests/Makefile.am (input/non_ascii.tar): add comment.
Date: Sat, 16 Nov 2024 14:41:31 -0500

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

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 50f12321d1 * tp/tests/README: mention that input/non_ascii.tar needs 
to be deleted manually. * tp/tests/Makefile.am (input/non_ascii.tar): add 
comment.
50f12321d1 is described below

commit 50f12321d10243f49b7d528652ae4c90fedc5c14
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Nov 16 19:37:39 2024 +0000

    * tp/tests/README: mention that input/non_ascii.tar needs
    to be deleted manually.
    * tp/tests/Makefile.am (input/non_ascii.tar): add comment.
    
    Report from Patrice.
---
 ChangeLog            | 8 ++++++++
 tp/tests/Makefile.am | 5 ++++-
 tp/tests/README      | 8 ++++++++
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 147b5a0c60..54dceb0407 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-11-16  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/tests/README: mention that input/non_ascii.tar needs
+       to be deleted manually.
+       * tp/tests/Makefile.am (input/non_ascii.tar): add comment.
+
+       Report from Patrice.
+
 2024-11-16  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/convert/ConvertXS.xs,
diff --git a/tp/tests/Makefile.am b/tp/tests/Makefile.am
index 9b3f277414..987d888540 100644
--- a/tp/tests/Makefile.am
+++ b/tp/tests/Makefile.am
@@ -86,7 +86,10 @@ non_ascii_input = \
  $(na)/dir_înclùde/file_image.png \
  $(na)/dir_înclùde/included_file.texi
 
-# tar archive should contain all files in a "non_ascii" directory
+# tar archive should contain all files in a "non_ascii" directory.  This
+# rule only works when run from the git repository, not from a tarball.
+# Note that this target does not depend on $(non_ascii_input), so
+# non_ascii.tar needs be deleted manually in case of any updates.
 $(srcdir)/input/non_ascii.tar:
        cd $(srcdir)/input && \
        tar -c -f non_ascii.tar non_ascii
diff --git a/tp/tests/README b/tp/tests/README
index 948100750c..d550798ba5 100644
--- a/tp/tests/README
+++ b/tp/tests/README
@@ -128,6 +128,14 @@ not accept invalid UTF-8, 
input_file_names_recoded_stamp.txt will contain
 FAILED, and the test requiring the files with recoded file names will
 be skipped.  The recoded files are generated in the built_input/ directory.
 
+Tests requiring other non-ASCII file names
+==========================================
+
+There are rules in Makefile.am to generate input/non_ascii.tar which
+contains test input files with non-ASCII characters in their names.
+This allows us to create a distribution tarball without such files.
+If these input files change, you may need to force regeneration of
+non_ascii.tar by deleting the file.
 
 TeX4ht and LaTeX2HTML tests
 ===========================



reply via email to

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