texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Gavin D. Smith
Date: Sun, 20 Nov 2022 15:14:32 -0500 (EST)

branch: master
commit 0a2ee10f06ca1dd4f613e99da882c153ac83b1b8
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Nov 20 20:13:22 2022 +0000

    * tp/Texinfo/Convert/HTML.pm (output) <INFO_JS_DIR>:
    Do not copy js files for tests.
---
 ChangeLog                  | 5 +++++
 tp/Texinfo/Convert/HTML.pm | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 2836feb072..772a8b20e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-11-20  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/Convert/HTML.pm (output) <INFO_JS_DIR>:
+       Do not copy js files for tests.
+
 2022-11-20  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/HTML.pm (%css_element_class_styles): increase
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 33ce6aae00..e998767a3d 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -10849,7 +10849,8 @@ sub output($$)
           mkdir $jsdir;
         }
       }
-      if (-d $jsdir) {
+      # Copy JS files.  Do not copy them for tests to keep results stable.
+      if (-d $jsdir and !$self->get_conf('TEST')) {
         my $jssrcdir;
         if (!$Texinfo::ModulePath::texinfo_uninstalled) {
           $jssrcdir = File::Spec->catdir(



reply via email to

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