[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/t/automatic_nodes.t, tp/t/do_master_menu.t,
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/t/automatic_nodes.t, tp/t/do_master_menu.t, tp/t/protect_character_in_texinfo.t, tp/t/test_protect_hashchar_at_line_beginning.t: comment out Texinfo::Document::rebuild_document calls, as it is not needed anymore. |
Date: |
Sun, 10 Mar 2024 10:00:17 -0400 |
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 d94a6fe6ab * tp/t/automatic_nodes.t, tp/t/do_master_menu.t,
tp/t/protect_character_in_texinfo.t,
tp/t/test_protect_hashchar_at_line_beginning.t: comment out
Texinfo::Document::rebuild_document calls, as it is not needed anymore.
d94a6fe6ab is described below
commit d94a6fe6abce2b3f472cade4bbd2abb8adb9f037
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Mar 10 15:00:18 2024 +0100
* tp/t/automatic_nodes.t, tp/t/do_master_menu.t,
tp/t/protect_character_in_texinfo.t,
tp/t/test_protect_hashchar_at_line_beginning.t: comment out
Texinfo::Document::rebuild_document calls, as it is not needed anymore.
---
ChangeLog | 7 +++++++
tp/t/automatic_nodes.t | 4 ++--
tp/t/do_master_menu.t | 8 ++++----
tp/t/protect_character_in_texinfo.t | 2 +-
tp/t/test_protect_hashchar_at_line_beginning.t | 2 +-
5 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 20bab9a2dd..3aea4182ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-03-10 Patrice Dumas <pertusus@free.fr>
+
+ * tp/t/automatic_nodes.t, tp/t/do_master_menu.t,
+ tp/t/protect_character_in_texinfo.t,
+ tp/t/test_protect_hashchar_at_line_beginning.t: comment out
+ Texinfo::Document::rebuild_document calls, as it is not needed anymore.
+
2024-03-10 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/convert/ConvertXS.xs (html_prepare_conversion_units):
diff --git a/tp/t/automatic_nodes.t b/tp/t/automatic_nodes.t
index 51bca97e7f..389bf32e5c 100644
--- a/tp/t/automatic_nodes.t
+++ b/tp/t/automatic_nodes.t
@@ -171,7 +171,7 @@ $document = $parser->parse_texi_text($sections_text);
Texinfo::Structuring::associate_internal_references($document, $parser);
Texinfo::Transformations::insert_nodes_for_sectioning_commands($document,
$parser);
-Texinfo::Document::rebuild_document($document);
+#Texinfo::Document::rebuild_document($document);
$tree = $document->tree();
my $result = Texinfo::Convert::Texinfo::convert_to_texinfo($tree);
is ($result, $reference, 'add nodes');
@@ -193,7 +193,7 @@
Texinfo::Structuring::associate_internal_references($document, $parser);
Texinfo::Transformations::insert_nodes_for_sectioning_commands($document,
$parser);
-Texinfo::Document::rebuild_document($document);
+#Texinfo::Document::rebuild_document($document);
my $identifier_target = $document->labels_information();
my $indices_information = $document->indices_information();
diff --git a/tp/t/do_master_menu.t b/tp/t/do_master_menu.t
index 69b2a76d88..390e783708 100644
--- a/tp/t/do_master_menu.t
+++ b/tp/t/do_master_menu.t
@@ -126,7 +126,7 @@ my $no_detailmenu = _get_in('');
my $parser = Texinfo::Parser::parser();
my $document = $parser->parse_texi_piece($in_detailmenu);
Texinfo::Structuring::associate_internal_references($document, $parser);
-Texinfo::Document::rebuild_document($document);
+#Texinfo::Document::rebuild_document($document);
my $identifier_target = $document->labels_information();
my $top_node = $identifier_target->{'Top'};
# FIXME does not test XS
@@ -173,7 +173,7 @@ is ($out, $reference, 'master menu');
$parser = Texinfo::Parser::parser();
$document = $parser->parse_texi_piece($no_detailmenu);
Texinfo::Structuring::associate_internal_references($document, $parser);
-Texinfo::Document::rebuild_document($document);
+#Texinfo::Document::rebuild_document($document);
$identifier_target = $document->labels_information();
$top_node = $identifier_target->{'Top'};
# FIXME does not test XS
@@ -187,7 +187,7 @@ $parser = Texinfo::Parser::parser();
$document = $parser->parse_texi_piece($in_detailmenu);
Texinfo::Structuring::associate_internal_references($document, $parser);
Texinfo::Transformations::regenerate_master_menu($document, $parser);
-Texinfo::Document::rebuild_document($document);
+#Texinfo::Document::rebuild_document($document);
my $tree = $document->tree();
$out = Texinfo::Convert::Texinfo::convert_to_texinfo($tree);
@@ -199,7 +199,7 @@ $parser = Texinfo::Parser::parser();
$document = $parser->parse_texi_piece($no_detailmenu);
Texinfo::Structuring::associate_internal_references($document, $parser);
Texinfo::Transformations::regenerate_master_menu($document, $parser);
-Texinfo::Document::rebuild_document($document);
+#Texinfo::Document::rebuild_document($document);
$tree = $document->tree();
$out = Texinfo::Convert::Texinfo::convert_to_texinfo($tree);
diff --git a/tp/t/protect_character_in_texinfo.t
b/tp/t/protect_character_in_texinfo.t
index a42157de7a..d2039f8bc9 100644
--- a/tp/t/protect_character_in_texinfo.t
+++ b/tp/t/protect_character_in_texinfo.t
@@ -52,7 +52,7 @@ sub run_test($$$$)
}
}
- Texinfo::Document::rebuild_document($document);
+ #Texinfo::Document::rebuild_document($document);
$tree_as_text = $document->tree();
$tree_as_line = Texinfo::Document::rebuild_tree($tree_as_line);
diff --git a/tp/t/test_protect_hashchar_at_line_beginning.t
b/tp/t/test_protect_hashchar_at_line_beginning.t
index b2b8e62e03..41203b23ec 100644
--- a/tp/t/test_protect_hashchar_at_line_beginning.t
+++ b/tp/t/test_protect_hashchar_at_line_beginning.t
@@ -42,7 +42,7 @@ sub run_test($$$;$)
Texinfo::Transformations::protect_hashchar_at_line_beginning($tree,
$document->registrar(), $parser);
- Texinfo::Document::rebuild_document($document);
+ #Texinfo::Document::rebuild_document($document);
$corrected_tree = $document->tree();
if (defined($error_message)) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/t/automatic_nodes.t, tp/t/do_master_menu.t, tp/t/protect_character_in_texinfo.t, tp/t/test_protect_hashchar_at_line_beginning.t: comment out Texinfo::Document::rebuild_document calls, as it is not needed anymore.,
Patrice Dumas <=