[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/texi2html texi2html.pl test/README test...
From: |
Patrice Dumas |
Subject: |
texinfo/texi2html texi2html.pl test/README test... |
Date: |
Mon, 30 Jul 2012 22:46:05 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 12/07/30 22:46:05
Modified files:
texi2html : texi2html.pl
texi2html/test : README manage_test_archives.sh
Log message:
Describe in README how to run the tests now.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/texi2html/texi2html.pl?cvsroot=texinfo&r1=1.439&r2=1.440
http://cvs.savannah.gnu.org/viewcvs/texinfo/texi2html/test/README?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/texi2html/test/manage_test_archives.sh?cvsroot=texinfo&r1=1.4&r2=1.5
Patches:
Index: texi2html.pl
===================================================================
RCS file: /sources/texinfo/texinfo/texi2html/texi2html.pl,v
retrieving revision 1.439
retrieving revision 1.440
diff -u -b -r1.439 -r1.440
--- texi2html.pl 20 Aug 2011 14:38:02 -0000 1.439
+++ texi2html.pl 30 Jul 2012 22:46:04 -0000 1.440
@@ -90,7 +90,7 @@
}
# CVS version:
-# $Id: texi2html.pl,v 1.439 2011/08/20 14:38:02 pertusus Exp $
+# $Id: texi2html.pl,v 1.440 2012/07/30 22:46:04 pertusus Exp $
# Homepage:
my $T2H_HOMEPAGE = "http://www.gnu.org/software/texinfo/";
@@ -2689,7 +2689,12 @@
my $state = shift;
# FIXME this should be done only once, for @documentencoding
- my $encoding = lc(get_conf('documentencoding'));
+ my $encoding;
+ my $input_encoding = get_conf('documentencoding');
+ if (defined($input_encoding))
+ {
+ $encoding = lc($input_encoding);
+ }
if (defined($encoding) and $encoding ne '' and
exists($Texi2HTML::Config::t2h_encoding_aliases{$encoding}))
{
$encoding = $Texi2HTML::Config::t2h_encoding_aliases{$encoding};
Index: test/README
===================================================================
RCS file: /sources/texinfo/texinfo/texi2html/test/README,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- test/README 21 Feb 2011 01:08:33 -0000 1.10
+++ test/README 30 Jul 2012 22:46:05 -0000 1.11
@@ -1,4 +1,4 @@
-$Id: README,v 1.10 2011/02/21 01:08:33 pertusus Exp $
+$Id: README,v 1.11 2012/07/30 22:46:05 pertusus Exp $
texinfo/texi2html/tests/README
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -11,6 +11,18 @@
copyright notice are hereby placed in the public domain.
+Test results are not in CVS. To download them, you need wget. To get the
+archives, and then unpack them, run
+ ./manage_test_archives.sh get
+ ./manage_test_archives.sh unpack
+
+To clean up archives and download directory, run
+ ./manage_test_archives.sh clean
+
+To run the tests, it should be necessary to configure and build texi2html.
+To do that, in the texi2html directory, run
+ autoreconf && ./configure && make
+
Prerequisites
=============
Index: test/manage_test_archives.sh
===================================================================
RCS file: /sources/texinfo/texinfo/texi2html/test/manage_test_archives.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- test/manage_test_archives.sh 30 Jul 2012 20:20:08 -0000 1.4
+++ test/manage_test_archives.sh 30 Jul 2012 22:46:05 -0000 1.5
@@ -49,6 +49,7 @@
elif [ $command = 'clean' ]; then
rm -rf download-mirror.savannah.gnu.org
rm -f $texi2html_tests_name.tar.gz $tp_tests_name.tar.gz
+ rm -f ../$texi2html_tests_name.tar.gz ../$tp_tests_name.tar.gz
elif [ $command = 'unpack' ]; then
(
cd ..
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/texi2html texi2html.pl test/README test...,
Patrice Dumas <=