bug-texinfo
[Top][All Lists]
Advanced

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

Re: Texinfo 7.1.0.90 pretest results [OpenBSD 7.5]


From: Gavin Smith
Subject: Re: Texinfo 7.1.0.90 pretest results [OpenBSD 7.5]
Date: Mon, 10 Jun 2024 21:10:53 +0100

On Mon, Jun 10, 2024 at 02:56:25PM +0200, Patrice Dumas wrote:
> > 4) The Solaris 11 OmniOS build fails due to a test failure:
> > 
> > FAIL: test_scripts/encoded_non_ascii_test_epub.sh
> > 
> > Detailed log:
> > -------------------------------------------------------------------------------
> > 
> > FAIL: test_scripts/encoded_non_ascii_test_epub.sh
> > =================================================
> > 
> > D: encoded/diffs/non_ascii_test_epub.diff (printed below)
> > Common subdirectories: 
> > ../../../tp/tests/encoded/res_parser/non_ascii_test_epub/osé_utf8_epub_package
> >  and encoded/out_parser/non_ascii_test_epub/osé_utf8_epub_package
> > Common subdirectories: 
> > ../../../tp/tests/encoded/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB
> >  and encoded/out_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB
> > Common subdirectories: 
> > ../../../tp/tests/encoded/res_parser/non_ascii_test_epub/osé_utf8_epub_package/META-INF
> >  and encoded/out_parser/non_ascii_test_epub/osé_utf8_epub_package/META-INF
> > Only in 
> > ../../../tp/tests/encoded/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB:
> >  0
> > Common subdirectories: 
> > ../../../tp/tests/encoded/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/images
> >  and 
> > encoded/out_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/images
> > Common subdirectories: 
> > ../../../tp/tests/encoded/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/xhtml
> >  and encoded/out_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/xhtml
> > D: encoded/diffs/non_ascii_test_epub.diff (printed above)
> > testdir: encoded
> > driving_file: ../../../tp/tests/encoded/list-of-tests
> > made result dir: ../../../tp/tests/encoded/res_parser/
> > 
> > doing test non_ascii_test_epub, src_file 
> > ../../../tp/tests/encoded/osé_utf8.texi
> > format_option: 
> > texi2any.pl non_ascii_test_epub -> encoded/out_parser/non_ascii_test_epub
> >  /usr/bin/perl -w ../../../tp/tests/..//texi2any.pl  --force --conf-dir 
> > ../../../tp/tests/../t/init/ --conf-dir ../../../tp/tests/../init 
> > --conf-dir ../../../tp/tests/../ext -I ../../../tp/tests/encoded -I 
> > encoded/ -I ../../../tp/tests/ -I . -I built_input --error-limit=1000 -c 
> > TEST=1  --output encoded/out_parser/non_ascii_test_epub/ -D 
> > 'needcommandlineunicode Need command-line unicode' -c 
> > COMMAND_LINE_ENCODING=UTF-8 -c MESSAGE_ENCODING=UTF-8 -c 
> > OUTPUT_FILE_NAME_ENCODING=UTF-8 --init epub3.pm -c 
> > 'EPUB_CREATE_CONTAINER_FILE 0' ../../../tp/tests/encoded/osé_utf8.texi > 
> > encoded/out_parser/non_ascii_test_epub/osé_utf8.1 
> > 2>encoded/out_parser/non_ascii_test_epub/osé_utf8.2
> > 
> > all done, exiting with status 1
> > FAIL test_scripts/encoded_non_ascii_test_epub.sh (exit status: 1)
> > -------------------------------------------------------------------------------
> 
> This is very strange.  I do not see a file named 0 in the tarball in
> tp/tests/encoded/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/

I would first check if the file

 
../../../tp/tests/encoded/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/0

actually exists.  Assuming it does, it should hopefully be straightforward
to find at what point this file gets created:

It should be possible to run just the one test with

make check TESTS=test_scripts/encoded_non_ascii_test_epub.sh 

(ignoring subsequent make errors in the "many_input_files" subdirectory).
Debugging statements could then be added to run_parser_all.sh to find
at what point the file appears.  For example:

diff --git a/tp/tests/run_parser_all.sh b/tp/tests/run_parser_all.sh
index 070ce74cad..c5b4c18620 100755
--- a/tp/tests/run_parser_all.sh
+++ b/tp/tests/run_parser_all.sh
@@ -429,6 +429,9 @@ while read line; do
     echo "$cmd" >>$logfile
     eval $cmd
     ret=$?
+    echo "AAAAAAAAAAAAAAAAAAAAAAAAAA" >> $logfile
+    ls -l 
../../../tp/tests/encoded/res_parser/non_ascii_test_epub/osé_utf8_epub_package 
>> $logfile
+    echo "BBBBBBBBBBBBBBBBBBB" >> $logfile
     #
     # ran test, check results.
     if test $ret = 0 ; then

Then check the contents of test_scripts/encoded_non_ascii_test_epub.sh.log
after running.  (When printing to standard output, the output didn't
show up for some reason.)





reply via email to

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