I wanted to try some changes to the code checking the structure of
sections and menus.  I changed the code in Texinfo/Structuring.pm first,
and wanted to know how this affected the output of the test suite.
However, running the test suite with TEXINFO_XS_STRUCTURE=0 produces
many other changes too:

Under tta/perl:

$ TEXINFO_XS_STRUCTURE=0 ../maintain/all_tests.sh generate

Then "git diff" starts with

-------------------
diff --git a/tta/perl/t/results/converters_tests/form_feeds.pl 
b/tta/perl/t/results/converters_tests/form_feeds.pl
index 100f405a26..57152e8c32 100644
--- a/tta/perl/t/results/converters_tests/form_feeds.pl
+++ b/tta/perl/t/results/converters_tests/form_feeds.pl
@@ -529,7 +529,7 @@ $result_floats{'form_feeds'} = ': 1
   S: shc within ^L shortcaption ^L
   C: within ^L cation ^L
 type: 1
- F1: {fl}
+ F {fl}
 ';
 
 $result_nodes_list{'form_feeds'} = '1|Top
diff --git 
a/tta/perl/t/results/converters_tests/references_to_top_no_top_output.pl 
b/tta/perl/t/results/converters_tests/references_to_top_no_top_output.pl
index bfa580307d..3434c87faf 100644
--- a/tta/perl/t/results/converters_tests/references_to_top_no_top_output.pl
+++ b/tta/perl/t/results/converters_tests/references_to_top_no_top_output.pl
@@ -296,7 +296,7 @@ $result_tree_text{'references_to_top_no_top_output'} = 
'*document_root C5
   |spaces_before_argument:
    |{ }
   |EXTRA
-  |float_number:{1.1}
+  |float_number:{2}
   |float_type:{list}
   |global_command_number:{2}
   |is_target:{1}
@@ -440,9 +440,9 @@ $result_errors{'references_to_top_no_top_output'} = [];
 
 
 $result_floats{'references_to_top_no_top_output'} = 'list: 2
- F1: {My-Flist}
+ F {My-Flist}
   C: Caption Flist. @anchor{a in caption}
- F1.1: {Main-Flist}
+ F {Main-Flist}
   C: Caption Main
 ';
-------------------

Most, but not all of the diffs are to do with floats.

I tried again with TEXINFO_XS=omit.  This didn't give any test differences at 
all.

Also specifying the pure Perl parser stopped any test differences:

TEXINFO_XS_PARSER=0 TEXINFO_XS_STRUCTURE=0 TEXINFO_XS_CONVERT=0 
../maintain/all_tests.sh generate

This also doesn't change the results:

TEXINFO_XS_CONVERT=0 ../maintain/all_tests.sh generate

So it is something to do with the combination of TEXINFO_XS_PARSER=1
and TEXINFO_XS_STRUCTURE=0 that doesn't work.

In the meantime, I will have to test my changes with "TEXINFO_XS=omit"
even though it will be slower to run the test suite.




 



Reply via email to