texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Separate sui generis tp/t tests


From: Gavin D. Smith
Subject: branch master updated: Separate sui generis tp/t tests
Date: Mon, 30 Dec 2024 19:59:30 -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 4c6de02366 Separate sui generis tp/t tests
4c6de02366 is described below

commit 4c6de023664c5cc291728d01f88f54d53c9a474b
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Dec 31 00:59:22 2024 +0000

    Separate sui generis tp/t tests
    
    * tp/t/01use.t,
    * tp/t/accents.t,
    * tp/t/automatic_menus.t,
    * tp/t/automatic_nodes.t,
    * tp/t/convert_to_text.t,
    * tp/t/do_master_menu.t,
    * tp/t/index_before_item.t,
    * tp/t/no_structure_test.t,
    * tp/t/nodenormalization.t,
    * tp/t/paragraph.t,
    * tp/t/protect_character_in_texinfo.t,
    * tp/t/raw_text_converter.t,
    * tp/t/reference_to_text_in_tree.t,
    * tp/t/same_parser_multiple_files.t,
    * tp/t/test_brace_count.t,
    * tp/t/test_converter_option.t,
    * tp/t/test_document.t,
    * tp/t/test_fill_gaps_in_sectioning.t,
    * tp/t/test_is_content_empty.t,
    * tp/t/test_parse_texi_line.t,
    * tp/t/test_protect_contents.t,
    * tp/t/test_protect_hashchar_at_line_beginning.t,
    * tp/t/test_sort.t,
    * tp/t/test_tree_copy.t:
    Move all these tests to a subdirectory, tp/t/z_misc.  These
    are the tests that do not use the tp/t/test_utils.pl framework.
    This makes it clearer which tests may need manual updating as
    "maintain/all_tests.sh generate" won't work for these.  It also
    means that our instructions for running these tests with valgrind
    (by changing Perl::Destruct::Level test_utils.pl) do not work and
    this will make this exception more apparent.
---
 ChangeLog                                          | 36 ++++++++++++++++
 tp/Makefile.tres                                   | 50 +++++++++++-----------
 tp/maintain/regenerate_file_lists.pl               |  2 +-
 tp/t/{ => z_misc}/01use.t                          |  0
 tp/t/{ => z_misc}/accents.t                        |  0
 tp/t/{ => z_misc}/automatic_menus.t                |  0
 tp/t/{ => z_misc}/automatic_nodes.t                |  0
 tp/t/{ => z_misc}/convert_to_text.t                |  0
 tp/t/{ => z_misc}/do_master_menu.t                 |  0
 tp/t/{ => z_misc}/index_before_item.t              |  0
 tp/t/{ => z_misc}/no_structure_test.t              |  0
 tp/t/{ => z_misc}/nodenormalization.t              |  0
 tp/t/{ => z_misc}/paragraph.t                      |  0
 tp/t/{ => z_misc}/protect_character_in_texinfo.t   |  0
 tp/t/{ => z_misc}/raw_text_converter.t             |  0
 tp/t/{ => z_misc}/reference_to_text_in_tree.t      |  0
 tp/t/{ => z_misc}/same_parser_multiple_files.t     |  0
 tp/t/{ => z_misc}/test_brace_count.t               |  0
 tp/t/{ => z_misc}/test_converter_option.t          |  0
 tp/t/{ => z_misc}/test_document.t                  |  0
 tp/t/{ => z_misc}/test_fill_gaps_in_sectioning.t   |  0
 tp/t/{ => z_misc}/test_is_content_empty.t          |  0
 tp/t/{ => z_misc}/test_parse_texi_line.t           |  0
 tp/t/{ => z_misc}/test_protect_contents.t          |  0
 .../test_protect_hashchar_at_line_beginning.t      |  0
 tp/t/{ => z_misc}/test_sort.t                      |  0
 tp/t/{ => z_misc}/test_tree_copy.t                 |  0
 27 files changed, 62 insertions(+), 26 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 0d0f9bf441..ef3b486999 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,39 @@
+2024-12-31  Gavin Smith <gavinsmith0123@gmail.com>
+
+       Separate sui generis tp/t tests
+
+       * tp/t/01use.t,
+       * tp/t/accents.t,
+       * tp/t/automatic_menus.t,
+       * tp/t/automatic_nodes.t,
+       * tp/t/convert_to_text.t,
+       * tp/t/do_master_menu.t,
+       * tp/t/index_before_item.t,
+       * tp/t/no_structure_test.t,
+       * tp/t/nodenormalization.t,
+       * tp/t/paragraph.t,
+       * tp/t/protect_character_in_texinfo.t,
+       * tp/t/raw_text_converter.t,
+       * tp/t/reference_to_text_in_tree.t,
+       * tp/t/same_parser_multiple_files.t,
+       * tp/t/test_brace_count.t,
+       * tp/t/test_converter_option.t,
+       * tp/t/test_document.t,
+       * tp/t/test_fill_gaps_in_sectioning.t,
+       * tp/t/test_is_content_empty.t,
+       * tp/t/test_parse_texi_line.t,
+       * tp/t/test_protect_contents.t,
+       * tp/t/test_protect_hashchar_at_line_beginning.t,
+       * tp/t/test_sort.t,
+       * tp/t/test_tree_copy.t:
+       Move all these tests to a subdirectory, tp/t/z_misc.  These
+       are the tests that do not use the tp/t/test_utils.pl framework.
+       This makes it clearer which tests may need manual updating as
+       "maintain/all_tests.sh generate" won't work for these.  It also
+       means that our instructions for running these tests with valgrind
+       (by changing Perl::Destruct::Level test_utils.pl) do not work and
+       this will make this exception more apparent.
+
 2024-12-30  Gavin Smith <gavinsmith0123@gmail.com>
 
        Italic correction on def line
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 6df54c8c00..68f5a8774e 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -1,7 +1,6 @@
 # Makefile.tres generated by maintain/regenerate_file_lists.pl
 #
 test_tap_files_generated_list = \
-  t/01use.t \
   t/02coverage.t \
   t/03coverage_braces.t \
   t/04verb.t \
@@ -30,43 +29,44 @@ test_tap_files_generated_list = \
   t/65linemacro.t \
   t/70value_and_macro.t \
   t/80include.t \
-  t/accents.t \
-  t/automatic_menus.t \
-  t/automatic_nodes.t \
-  t/convert_to_text.t \
   t/converters_tests.t \
-  t/do_master_menu.t \
   t/docbook_tests.t \
   t/epub_tests.t \
   t/formats_encodings.t \
   t/html_tests.t \
   t/htmlxref.t \
-  t/index_before_item.t \
   t/info_tests.t \
   t/init_files_tests.t \
   t/languages.t \
   t/latex_tests.t \
   t/layout.t \
-  t/no_structure_test.t \
-  t/nodenormalization.t \
-  t/paragraph.t \
   t/plaintext_tests.t \
-  t/protect_character_in_texinfo.t \
-  t/raw_text_converter.t \
-  t/reference_to_text_in_tree.t \
-  t/same_parser_multiple_files.t \
-  t/test_brace_count.t \
-  t/test_converter_option.t \
-  t/test_document.t \
-  t/test_fill_gaps_in_sectioning.t \
-  t/test_is_content_empty.t \
-  t/test_parse_texi_line.t \
-  t/test_protect_contents.t \
-  t/test_protect_hashchar_at_line_beginning.t \
-  t/test_sort.t \
-  t/test_tree_copy.t \
   t/transformations.t \
-  t/xml_tests.t
+  t/xml_tests.t \
+  t/z_misc/01use.t \
+  t/z_misc/accents.t \
+  t/z_misc/automatic_menus.t \
+  t/z_misc/automatic_nodes.t \
+  t/z_misc/convert_to_text.t \
+  t/z_misc/do_master_menu.t \
+  t/z_misc/index_before_item.t \
+  t/z_misc/no_structure_test.t \
+  t/z_misc/nodenormalization.t \
+  t/z_misc/paragraph.t \
+  t/z_misc/protect_character_in_texinfo.t \
+  t/z_misc/raw_text_converter.t \
+  t/z_misc/reference_to_text_in_tree.t \
+  t/z_misc/same_parser_multiple_files.t \
+  t/z_misc/test_brace_count.t \
+  t/z_misc/test_converter_option.t \
+  t/z_misc/test_document.t \
+  t/z_misc/test_fill_gaps_in_sectioning.t \
+  t/z_misc/test_is_content_empty.t \
+  t/z_misc/test_parse_texi_line.t \
+  t/z_misc/test_protect_contents.t \
+  t/z_misc/test_protect_hashchar_at_line_beginning.t \
+  t/z_misc/test_sort.t \
+  t/z_misc/test_tree_copy.t
 
 test_files_generated_list = $(test_tap_files_generated_list) \
   t/results/alias/alias_macro_target_removed.pl \
diff --git a/tp/maintain/regenerate_file_lists.pl 
b/tp/maintain/regenerate_file_lists.pl
index e20408d145..19b6bf3e20 100755
--- a/tp/maintain/regenerate_file_lists.pl
+++ b/tp/maintain/regenerate_file_lists.pl
@@ -45,7 +45,7 @@ my %tap_files;
 find (\&wanted_tap_files, ('t'));
 sub wanted_tap_files
 {
-  if (/\.t$/ and $File::Find::dir =~ /t$/) {
+  if (/\.t$/ and $File::Find::dir =~ /t(\/z_misc)?$/) {
     $tap_files{$File::Find::name} = 1;
   }
 }
diff --git a/tp/t/01use.t b/tp/t/z_misc/01use.t
similarity index 100%
rename from tp/t/01use.t
rename to tp/t/z_misc/01use.t
diff --git a/tp/t/accents.t b/tp/t/z_misc/accents.t
similarity index 100%
rename from tp/t/accents.t
rename to tp/t/z_misc/accents.t
diff --git a/tp/t/automatic_menus.t b/tp/t/z_misc/automatic_menus.t
similarity index 100%
rename from tp/t/automatic_menus.t
rename to tp/t/z_misc/automatic_menus.t
diff --git a/tp/t/automatic_nodes.t b/tp/t/z_misc/automatic_nodes.t
similarity index 100%
rename from tp/t/automatic_nodes.t
rename to tp/t/z_misc/automatic_nodes.t
diff --git a/tp/t/convert_to_text.t b/tp/t/z_misc/convert_to_text.t
similarity index 100%
rename from tp/t/convert_to_text.t
rename to tp/t/z_misc/convert_to_text.t
diff --git a/tp/t/do_master_menu.t b/tp/t/z_misc/do_master_menu.t
similarity index 100%
rename from tp/t/do_master_menu.t
rename to tp/t/z_misc/do_master_menu.t
diff --git a/tp/t/index_before_item.t b/tp/t/z_misc/index_before_item.t
similarity index 100%
rename from tp/t/index_before_item.t
rename to tp/t/z_misc/index_before_item.t
diff --git a/tp/t/no_structure_test.t b/tp/t/z_misc/no_structure_test.t
similarity index 100%
rename from tp/t/no_structure_test.t
rename to tp/t/z_misc/no_structure_test.t
diff --git a/tp/t/nodenormalization.t b/tp/t/z_misc/nodenormalization.t
similarity index 100%
rename from tp/t/nodenormalization.t
rename to tp/t/z_misc/nodenormalization.t
diff --git a/tp/t/paragraph.t b/tp/t/z_misc/paragraph.t
similarity index 100%
rename from tp/t/paragraph.t
rename to tp/t/z_misc/paragraph.t
diff --git a/tp/t/protect_character_in_texinfo.t 
b/tp/t/z_misc/protect_character_in_texinfo.t
similarity index 100%
rename from tp/t/protect_character_in_texinfo.t
rename to tp/t/z_misc/protect_character_in_texinfo.t
diff --git a/tp/t/raw_text_converter.t b/tp/t/z_misc/raw_text_converter.t
similarity index 100%
rename from tp/t/raw_text_converter.t
rename to tp/t/z_misc/raw_text_converter.t
diff --git a/tp/t/reference_to_text_in_tree.t 
b/tp/t/z_misc/reference_to_text_in_tree.t
similarity index 100%
rename from tp/t/reference_to_text_in_tree.t
rename to tp/t/z_misc/reference_to_text_in_tree.t
diff --git a/tp/t/same_parser_multiple_files.t 
b/tp/t/z_misc/same_parser_multiple_files.t
similarity index 100%
rename from tp/t/same_parser_multiple_files.t
rename to tp/t/z_misc/same_parser_multiple_files.t
diff --git a/tp/t/test_brace_count.t b/tp/t/z_misc/test_brace_count.t
similarity index 100%
rename from tp/t/test_brace_count.t
rename to tp/t/z_misc/test_brace_count.t
diff --git a/tp/t/test_converter_option.t b/tp/t/z_misc/test_converter_option.t
similarity index 100%
rename from tp/t/test_converter_option.t
rename to tp/t/z_misc/test_converter_option.t
diff --git a/tp/t/test_document.t b/tp/t/z_misc/test_document.t
similarity index 100%
rename from tp/t/test_document.t
rename to tp/t/z_misc/test_document.t
diff --git a/tp/t/test_fill_gaps_in_sectioning.t 
b/tp/t/z_misc/test_fill_gaps_in_sectioning.t
similarity index 100%
rename from tp/t/test_fill_gaps_in_sectioning.t
rename to tp/t/z_misc/test_fill_gaps_in_sectioning.t
diff --git a/tp/t/test_is_content_empty.t b/tp/t/z_misc/test_is_content_empty.t
similarity index 100%
rename from tp/t/test_is_content_empty.t
rename to tp/t/z_misc/test_is_content_empty.t
diff --git a/tp/t/test_parse_texi_line.t b/tp/t/z_misc/test_parse_texi_line.t
similarity index 100%
rename from tp/t/test_parse_texi_line.t
rename to tp/t/z_misc/test_parse_texi_line.t
diff --git a/tp/t/test_protect_contents.t b/tp/t/z_misc/test_protect_contents.t
similarity index 100%
rename from tp/t/test_protect_contents.t
rename to tp/t/z_misc/test_protect_contents.t
diff --git a/tp/t/test_protect_hashchar_at_line_beginning.t 
b/tp/t/z_misc/test_protect_hashchar_at_line_beginning.t
similarity index 100%
rename from tp/t/test_protect_hashchar_at_line_beginning.t
rename to tp/t/z_misc/test_protect_hashchar_at_line_beginning.t
diff --git a/tp/t/test_sort.t b/tp/t/z_misc/test_sort.t
similarity index 100%
rename from tp/t/test_sort.t
rename to tp/t/z_misc/test_sort.t
diff --git a/tp/t/test_tree_copy.t b/tp/t/z_misc/test_tree_copy.t
similarity index 100%
rename from tp/t/test_tree_copy.t
rename to tp/t/z_misc/test_tree_copy.t



reply via email to

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