texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/t/html_tests.t (mathjax_with_texinfo) (mathj


From: Patrice Dumas
Subject: branch master updated: * tp/t/html_tests.t (mathjax_with_texinfo) (mathjax_with_texinfo_enable_encoding) (mathjax_with_texinfo_html_file): skip tests with conversion of Texinfo to LaTeX in HTML in math if using XS for conversion, as it is not implemented.
Date: Tue, 07 Nov 2023 16:31:37 -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 fa0659e8c5 * tp/t/html_tests.t (mathjax_with_texinfo) 
(mathjax_with_texinfo_enable_encoding) (mathjax_with_texinfo_html_file): skip 
tests with conversion of Texinfo to LaTeX in HTML in math if using XS for 
conversion, as it is not implemented.
fa0659e8c5 is described below

commit fa0659e8c5412a1891f231442f4b2deaa4b4df52
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Nov 7 22:31:28 2023 +0100

    * tp/t/html_tests.t (mathjax_with_texinfo)
    (mathjax_with_texinfo_enable_encoding)
    (mathjax_with_texinfo_html_file): skip tests with conversion of
    Texinfo to LaTeX in HTML in math if using XS for conversion, as it is
    not implemented.
---
 ChangeLog         |  8 ++++++++
 tp/t/html_tests.t | 15 ++++++++++++---
 2 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 06f7335b1d..f1bd119857 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-11-07  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/t/html_tests.t (mathjax_with_texinfo)
+       (mathjax_with_texinfo_enable_encoding)
+       (mathjax_with_texinfo_html_file): skip tests with conversion of
+       Texinfo to LaTeX in HTML in math if using XS for conversion, as it is
+       not implemented.
+
 2023-11-07  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/main/get_perl_info.c: move
diff --git a/tp/t/html_tests.t b/tp/t/html_tests.t
index 95502180eb..6881d53458 100644
--- a/tp/t/html_tests.t
+++ b/tp/t/html_tests.t
@@ -5,6 +5,10 @@ use Texinfo::ModulePath (undef, undef, undef, 'updirs' => 2);
 
 require 't/test_utils.pl';
 
+my $XS_convert = 0;
+$XS_convert = 1 if (defined $ENV{TEXINFO_XS_CONVERT}
+                    and $ENV{TEXINFO_XS_CONVERT} eq '1');
+
 my $itemize_arguments_text = '
 @itemize ---
 @item item ---
@@ -649,11 +653,14 @@ in html
 @section Sec after
 ', {'FORMAT_MENU' => 'menu'}, {'FORMAT_MENU' => 'menu'},],
 ['mathjax_with_texinfo',
-$mathjax_with_texinfo, {}, {'HTML_MATH' => 'mathjax'}],
+$mathjax_with_texinfo,
+{'skip' => $XS_convert ? 'No conversion to LaTeX in HTML XS' : undef, },
+{'HTML_MATH' => 'mathjax'}],
 ['mathjax_with_texinfo_enable_encoding',
 $mathjax_with_texinfo, {'test_formats' => ['latex_text', 'file_latex'],
                         'full_document' => 1,
-       'test_input_file_name' => 'mathjax_with_texinfo_enable_encoding.texi'},
+       'test_input_file_name' => 'mathjax_with_texinfo_enable_encoding.texi',
+      'skip' => $XS_convert ? 'No conversion to LaTeX in HTML XS' : undef,},
 {'HTML_MATH' => 'mathjax', 'ENABLE_ENCODING' => 1, 'OUTPUT_CHARACTERS' => 1}],
 ['mathjax_with_texinfo_no_convert_to_latex',
 $mathjax_with_texinfo, {}, {'HTML_MATH' => 'mathjax',
@@ -1260,7 +1267,9 @@ $check_htmlxref_text
    'SPLIT' => '', 'BIG_RULE' => '<hr style="height: 6px;">'}
 ],
 ['mathjax_with_texinfo_html_file',
-$mathjax_with_texinfo, {}, {'HTML_MATH' => 'mathjax'}],
+$mathjax_with_texinfo,
+{'skip' => $XS_convert ? 'No conversion to LaTeX in HTML XS' : undef, },
+{'HTML_MATH' => 'mathjax'}],
 ['info_js_dir_html_file',
 $info_js_dir_test, {}, {'INFO_JS_DIR' => 'js'}],
 );



reply via email to

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