texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * README-hacking: add suggestion to run contrib/n


From: Gavin D. Smith
Subject: branch master updated: * README-hacking: add suggestion to run contrib/nontests tests * contrib/nontests/README: txitextest no longer run regularly * contrib/nontests/local.test: delete test as we do not use "local" in texi2dvi
Date: Sun, 03 Nov 2024 10:18:45 -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 f35b3cd572 * README-hacking: add suggestion to run contrib/nontests 
tests * contrib/nontests/README: txitextest no longer run regularly * 
contrib/nontests/local.test: delete test as we do not use "local" in texi2dvi
f35b3cd572 is described below

commit f35b3cd57259e4709ac98511db7be7f994cea416
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Nov 3 15:18:28 2024 +0000

    * README-hacking: add suggestion to run contrib/nontests tests
    * contrib/nontests/README: txitextest no longer run regularly
    * contrib/nontests/local.test: delete test as we do not use
    "local" in texi2dvi
---
 ChangeLog                   |  7 +++++
 README-hacking              |  2 ++
 contrib/nontests/README     |  4 +--
 contrib/nontests/local.test | 67 ---------------------------------------------
 4 files changed, 11 insertions(+), 69 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a9d0298237..7cc49bf4b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-11-03  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * README-hacking: add suggestion to run contrib/nontests tests
+       * contrib/nontests/README: txitextest no longer run regularly
+       * contrib/nontests/local.test: delete test as we do not use
+       "local" in texi2dvi
+
 2024-11-03  Patrice Dumas  <pertusus@free.fr>
 
        * contrib/nontests/txitextest, contrib/nontests/*.test,
diff --git a/README-hacking b/README-hacking
index 33b74e80b8..1f3bf74e09 100644
--- a/README-hacking
+++ b/README-hacking
@@ -393,6 +393,8 @@ check indices of Texinfo manuals and check for duplicates 
(with <1> in Info)
 
 Check "make ccheck" and "make vcheck" work in "doc/refcard".
 
+Consider running tests of texi2dvi under contrib/nontests
+
 - Official releases only:
 make V=1 pdf and fix underfull/overfull boxes.
 
diff --git a/contrib/nontests/README b/contrib/nontests/README
index f006647d5c..1320966107 100644
--- a/contrib/nontests/README
+++ b/contrib/nontests/README
@@ -1,6 +1,6 @@
 texinfo/contrib/nontests/README
 
-  Copyright 2015-2019 Free Software Foundation, Inc.
+  Copyright 2015-2024 Free Software Foundation, Inc.
 
   Copying and distribution of this file, with or without modification,
   are permitted in any medium without royalty provided the copyright
@@ -14,6 +14,6 @@ installations.  And even checking whether it is working or 
not is not
 simple.
 
 The txitextest script compares old and new results of running manuals
-through texinfo.tex.  The texinfo.tex developer(s) run this from cron
+through texinfo.tex.  The texinfo.tex developer(s) used to run this from cron
 nightly as an imperfect check against errors and/or reversions creeping
 in.
diff --git a/contrib/nontests/local.test b/contrib/nontests/local.test
deleted file mode 100755
index 69c6e4247f..0000000000
--- a/contrib/nontests/local.test
+++ /dev/null
@@ -1,67 +0,0 @@
-#! /bin/sh
-# Copyright (C) 2003-2024  Free Software Foundation, Inc.
-#
-# This file is part of GNU Texinfo.
-#
-# GNU Texinfo is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License,
-# or (at your option) any later version.
-#
-# GNU Texinfo is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-# Make sure no "local" variable identifier is used twice, since
-# local is not actually portable.
-
-# If srcdir is not set, then we are not running from `make check', be verbose.
-if test -z "$srcdir"; then
-   VERBOSE=x
-   # compute $srcdir.
-   srcdir=`echo "$0" | sed -e 's,/[^\\/]*$,,'`
-   test $srcdir = $0 && srcdir=.
-fi
-
-. ${srcdir}/run_test_utils.sh || exit 1
-
-set -e
-
-# Make sure quotes are used to protect the value.  See the comment in
-# texi2dvi itself about local.
-if sed -e 's/^[         ]*#.*//' $TEXI2DVI |
-    $EGREP "\blocal [a-zA-Z_0-9]*=[^\"']" |
-    $EGREP -v "\blocal [a-zA-Z_0-9]*=[a-zA-Z0-9]*$" |
-    grep .
-then
-  false
-else
-  true
-fi
-
-
-# Make sure each name is used only once.
-if sed -n -e 's/^#.*//' \
-          -e 's/local \([a-zA-Z_0-9]*\)/\1/gp' $TEXI2DVI |
-    sort |
-    uniq -c |
-    grep -v '^.*1 ' |
-    grep .
-then
-  false
-else
-  true
-fi
-
-
-# Make sure we don't use $().
-if $FGREP '$(' $TEXI2DVI
-then
-  false
-else
-  true
-fi



reply via email to

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