texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp/tests README run_parser_all.sh many_...


From: Patrice Dumas
Subject: texinfo/tp/tests README run_parser_all.sh many_...
Date: Sun, 02 Dec 2012 17:12:41 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        12/12/02 17:12:41

Modified files:
        tp/tests       : README run_parser_all.sh 
        tp/tests/many_input_files: tex_l2h.sh tex_t4ht.sh 
        tp/tests/tex_html/res_parser/formatting_singular: anchor.html 
                                                          chapter.html 
                                                          chapter2.html 
                                                          index.htm 
                                                          index.html 
                                                          
s_002d_002dect_002cion.html 
                                                          sing_abt.htm 
                                                          sing_fot.htm 
                                                          sing_ovr.htm 
                                                          sing_toc.htm 
                                                          subsection.html 
                                                          
subsubsection-_0060_0060simple_002ddouble_002d_002d.html 
                                                          
subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html 

Log message:
        Only use mktemp if doing a test with latex2html, as it is not needed 
otherwise
        and some platforms may lack mktemp or mktemp -d.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/README?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/run_parser_all.sh?cvsroot=texinfo&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/many_input_files/tex_l2h.sh?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/many_input_files/tex_t4ht.sh?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/anchor.html?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/chapter.html?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/index.htm?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/index.html?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/subsection.html?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html?cvsroot=texinfo&r1=1.1&r2=1.2

Patches:
Index: README
===================================================================
RCS file: /sources/texinfo/texinfo/tp/tests/README,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- README      11 Nov 2012 16:25:07 -0000      1.6
+++ README      2 Dec 2012 17:12:39 -0000       1.7
@@ -1,4 +1,4 @@
-$Id: README,v 1.6 2012/11/11 16:25:07 pertusus Exp $
+$Id: README,v 1.7 2012/12/02 17:12:39 pertusus Exp $
 texinfo/tp/tests/README
 
   Copyright (C) 2010, 2012 Free Software Foundation, Inc.
@@ -13,7 +13,9 @@
 
 Prerequisites
 =============
-To run this testsuite, sed, awk, diff (with -u), mktemp are used. 
+To run this testsuite, sed, awk, diff (with -u) are used. 
+For LaTeX2HTML tests (not run in the default case) mktemp 
+understanding the -d option is also required.
 
 Some tests may also require a case insensitive filesystem.
 

Index: run_parser_all.sh
===================================================================
RCS file: /sources/texinfo/texinfo/tp/tests/run_parser_all.sh,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- run_parser_all.sh   17 Nov 2012 12:37:30 -0000      1.13
+++ run_parser_all.sh   2 Dec 2012 17:12:40 -0000       1.14
@@ -170,11 +170,6 @@
   test -d "${outdir}" || mkdir "${outdir}"
 done
 
-if tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`; then
-  :
-else
-  exit 1
-fi
 
 echo "base_result_dir $base_results_dir, driving_file $driving_file" > $logfile
 
@@ -257,6 +252,13 @@
           continue 2
         fi
         use_latex2html=yes
+        if test z"$tmp_dir" = 'z'; then
+           tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`
+           if test z"$tmp_dir" = 'z'; then
+             echo "mktemp failed" 1>&2
+             exit 1
+           fi
+        fi
         l2h_tmp_dir="--set-customization-variable 'L2H_TMP $tmp_dir'"
       elif echo "$remaining" | grep -qs -- '-init tex4ht.pm'; then
         if test "$no_tex4ht" = 'yes' ; then
@@ -367,7 +369,9 @@
   done
 done < "$driving_file"
 
-rm -rf $tmp_dir
+if test z"$tmp_dir" != 'z' ; then
+  rm -rf $tmp_dir
+fi
 
 if test "$one_test" = 'yes' && test "z$one_test_done" != "zyes" ; then
   echo "$the_test $the_file test not found"

Index: many_input_files/tex_l2h.sh
===================================================================
RCS file: /sources/texinfo/texinfo/tp/tests/many_input_files/tex_l2h.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- many_input_files/tex_l2h.sh 16 Nov 2012 01:26:28 -0000      1.11
+++ many_input_files/tex_l2h.sh 2 Dec 2012 17:12:40 -0000       1.12
@@ -29,9 +29,9 @@
 echo "$basename" > $logfile
 : > $stdout_file
 
-if tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`; then
-  :
-else
+tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`
+if test z"$tmp_dir" = 'z' ; then
+  echo "mktemp failed" 1>&2
   exit 1
 fi
 

Index: many_input_files/tex_t4ht.sh
===================================================================
RCS file: /sources/texinfo/texinfo/tp/tests/many_input_files/tex_t4ht.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- many_input_files/tex_t4ht.sh        16 Nov 2012 01:26:28 -0000      1.10
+++ many_input_files/tex_t4ht.sh        2 Dec 2012 17:12:40 -0000       1.11
@@ -29,18 +29,12 @@
 echo "$basename" > $logfile
 : > $stdout_file
 
-if tmp_dir=`mktemp -d l2h_t2h_XXXXXXXX`; then
-  :
-else
-  exit 1
-fi
-
 [ -d $basename ] && rm -rf $basename
 raw_outdir=$raw_output_dir/$basename
 [ -d $raw_outdir ] && rm -rf $raw_outdir
 mkdir $basename
-echo "$PERL -I $srcdir/../.. -I 
$srcdir/../../maintain/lib/Unicode-EastAsianWidth/lib/ -I 
$srcdir/../../maintain/lib/libintl-perl/lib -I 
$srcdir/../../maintain/lib/Text-Unidecode/lib/ -w $srcdir/../../texi2any.pl 
--set-customization-variable 'TEXI2HTML 1' --set-customization-variable 'TEST 
1' --set-customization-variable L2H_TMP=$tmp_dir --conf-dir $srcdir/../../init 
--init-file tex4ht.pm --iftex --out $basename/ 
$srcdir/../tex_html/tex_complex.texi $srcdir/../tex_html/tex.texi --force >> 
$stdout_file 2>$basename/${basename}.2" >> $logfile
-$PERL -I $srcdir/../.. -I 
$srcdir/../../maintain/lib/Unicode-EastAsianWidth/lib/ -I 
$srcdir/../../maintain/lib/libintl-perl/lib -I 
$srcdir/../../maintain/lib/Text-Unidecode/lib/ -w $srcdir/../../texi2any.pl 
--set-customization-variable 'TEXI2HTML 1' --set-customization-variable 'TEST 
1' --set-customization-variable L2H_TMP=$tmp_dir --conf-dir $srcdir/../../init 
--init-file tex4ht.pm --iftex --out $basename/  
$srcdir/../tex_html/tex_complex.texi $srcdir/../tex_html/tex.texi --force >> 
$stdout_file 2>$basename/${basename}.2
+echo "$PERL -I $srcdir/../.. -I 
$srcdir/../../maintain/lib/Unicode-EastAsianWidth/lib/ -I 
$srcdir/../../maintain/lib/libintl-perl/lib -I 
$srcdir/../../maintain/lib/Text-Unidecode/lib/ -w $srcdir/../../texi2any.pl 
--set-customization-variable 'TEXI2HTML 1' --set-customization-variable 'TEST 
1' --conf-dir $srcdir/../../init --init-file tex4ht.pm --iftex --out $basename/ 
$srcdir/../tex_html/tex_complex.texi $srcdir/../tex_html/tex.texi --force >> 
$stdout_file 2>$basename/${basename}.2" >> $logfile
+$PERL -I $srcdir/../.. -I 
$srcdir/../../maintain/lib/Unicode-EastAsianWidth/lib/ -I 
$srcdir/../../maintain/lib/libintl-perl/lib -I 
$srcdir/../../maintain/lib/Text-Unidecode/lib/ -w $srcdir/../../texi2any.pl 
--set-customization-variable 'TEXI2HTML 1' --set-customization-variable 'TEST 
1' --conf-dir $srcdir/../../init --init-file tex4ht.pm --iftex --out $basename/ 
 $srcdir/../tex_html/tex_complex.texi $srcdir/../tex_html/tex.texi --force >> 
$stdout_file 2>$basename/${basename}.2
 
 return_code=0
 ret=$?
@@ -74,6 +68,4 @@
   fi
 fi
 
-rm -rf $tmp_dir
-
 exit $return_code

Index: tex_html/res_parser/formatting_singular/anchor.html
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/anchor.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/anchor.html 10 Nov 2012 12:10:29 
-0000      1.1
+++ tex_html/res_parser/formatting_singular/anchor.html 2 Dec 2012 17:12:40 
-0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: tex_html/res_parser/formatting_singular/chapter.html
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/chapter.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/chapter.html        10 Nov 2012 
12:10:29 -0000      1.1
+++ tex_html/res_parser/formatting_singular/chapter.html        2 Dec 2012 
17:12:40 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: tex_html/res_parser/formatting_singular/chapter2.html
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/chapter2.html       10 Nov 2012 
12:10:30 -0000      1.1
+++ tex_html/res_parser/formatting_singular/chapter2.html       2 Dec 2012 
17:12:40 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: tex_html/res_parser/formatting_singular/index.htm
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/index.htm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/index.htm   10 Nov 2012 12:10:31 
-0000      1.1
+++ tex_html/res_parser/formatting_singular/index.htm   2 Dec 2012 17:12:40 
-0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 
@@ -1360,9 +1358,7 @@
 <code>@dotless{--a}</code> &ndash;a
 <code>@dotless{a}</code> a
 </p>
-<p>@TeX, but without brace TeX
-</p>
-<p><code>@#</code> #
+<p>@TeX, but without brace TeX<code>@#</code> #
 </p>
 <p><code>@w{--a}</code> &ndash;a<!-- /@w -->
 </p>
@@ -2111,9 +2107,7 @@
 <code>@dotless{--a}</code> &ndash;a
 <code>@dotless{a}</code> a
 </p>
-<p>@TeX, but without brace TeX
-</p>
-<p><code>@#</code> #
+<p>@TeX, but without brace TeX<code>@#</code> #
 </p>
 <p><code>@w{--a}</code> &ndash;a<!-- /@w -->
 </p>
@@ -2868,9 +2862,7 @@
 <code>@dotless{--a}</code> --a
 <code>@dotless{a}</code> a
 
address@hidden, but without brace TeX
-
-<code>@#</code> #
address@hidden, but without brace TeX<code>@#</code> #
 
 <code>@w{--a}</code> --a<!-- /@w -->
 

Index: tex_html/res_parser/formatting_singular/index.html
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/index.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/index.html  10 Nov 2012 12:10:31 
-0000      1.1
+++ tex_html/res_parser/formatting_singular/index.html  2 Dec 2012 17:12:40 
-0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html 10 Nov 
2012 12:10:31 -0000      1.1
+++ tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html 2 Dec 
2012 17:12:40 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: tex_html/res_parser/formatting_singular/sing_abt.htm
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/sing_abt.htm        10 Nov 2012 
12:10:32 -0000      1.1
+++ tex_html/res_parser/formatting_singular/sing_abt.htm        2 Dec 2012 
17:12:40 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: tex_html/res_parser/formatting_singular/sing_fot.htm
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/sing_fot.htm        10 Nov 2012 
12:10:32 -0000      1.1
+++ tex_html/res_parser/formatting_singular/sing_fot.htm        2 Dec 2012 
17:12:40 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: tex_html/res_parser/formatting_singular/sing_ovr.htm
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/sing_ovr.htm        10 Nov 2012 
12:10:34 -0000      1.1
+++ tex_html/res_parser/formatting_singular/sing_ovr.htm        2 Dec 2012 
17:12:40 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: tex_html/res_parser/formatting_singular/sing_toc.htm
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/sing_toc.htm        10 Nov 2012 
12:10:34 -0000      1.1
+++ tex_html/res_parser/formatting_singular/sing_toc.htm        2 Dec 2012 
17:12:40 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: tex_html/res_parser/formatting_singular/subsection.html
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/subsection.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tex_html/res_parser/formatting_singular/subsection.html     10 Nov 2012 
12:10:34 -0000      1.1
+++ tex_html/res_parser/formatting_singular/subsection.html     2 Dec 2012 
17:12:40 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: 
tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- 
tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
    10 Nov 2012 12:10:34 -0000      1.1
+++ 
tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
    2 Dec 2012 17:12:41 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 

Index: 
tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- 
tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
   10 Nov 2012 12:10:35 -0000      1.1
+++ 
tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
   2 Dec 2012 17:12:41 -0000       1.2
@@ -531,9 +531,7 @@
 @dotless{-a} -a
 @dotless{a} a
 
address@hidden, but without brace TeX
-
address@hidden #
address@hidden, but without brace address@hidden #
 
 @w{-a} -a
 



reply via email to

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