[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6395] texi2dvi_helpversion.sh
From: |
Gavin D. Smith |
Subject: |
[6395] texi2dvi_helpversion.sh |
Date: |
Mon, 06 Jul 2015 20:14:51 +0000 |
Revision: 6395
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6395
Author: gavin
Date: 2015-07-06 20:14:51 +0000 (Mon, 06 Jul 2015)
Log Message:
-----------
texi2dvi_helpversion.sh
Modified Paths:
--------------
trunk/ChangeLog
trunk/util/Makefile.am
trunk/util/tests/README
Added Paths:
-----------
trunk/util/tests/texi2dvi_helpversion.sh
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-07-06 18:45:43 UTC (rev 6394)
+++ trunk/ChangeLog 2015-07-06 20:14:51 UTC (rev 6395)
@@ -1,5 +1,11 @@
2015-07-06 Gavin Smith <address@hidden>
+ * util/Makefile.am (TESTS): Add variable.
+ * util/tests/texi2dvi_helpversion.sh: Add test, based on
+ texindex/tests/ti-helpversion.sh. Suggestion from Karl.
+
+2015-07-06 Gavin Smith <address@hidden>
+
* tp/t/test_utils.pl: Add directories containing XSParagraph
files to the module include path, so that running, e.g.,
"perl -w t/80include.t" works. Suggestion from Patrice.
Modified: trunk/util/Makefile.am
===================================================================
--- trunk/util/Makefile.am 2015-07-06 18:45:43 UTC (rev 6394)
+++ trunk/util/Makefile.am 2015-07-06 20:14:51 UTC (rev 6395)
@@ -64,3 +64,5 @@
tests
DISTCLEANFILES = txixml2texi
+
+TESTS=tests/texi2dvi_helpversion.sh
Modified: trunk/util/tests/README
===================================================================
--- trunk/util/tests/README 2015-07-06 18:45:43 UTC (rev 6394)
+++ trunk/util/tests/README 2015-07-06 20:14:51 UTC (rev 6395)
@@ -1,7 +1,7 @@
$Id$
texinfo/util/tests/README
- Copyright 2013 Free Software Foundation, Inc.
+ Copyright 2015 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -9,9 +9,11 @@
Perhaps some day we will actually make these work. We can't just invoke
them unconditionally, since people may or may not have working TeX
-installations. And even checking whether it is working or not is not
+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
nightly as an imperfect check against errors and/or reversions creeping in.
+
+texi2dvi_helpversion.sh is run by "make check".
Added: trunk/util/tests/texi2dvi_helpversion.sh
===================================================================
--- trunk/util/tests/texi2dvi_helpversion.sh (rev 0)
+++ trunk/util/tests/texi2dvi_helpversion.sh 2015-07-06 20:14:51 UTC (rev
6395)
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -x
+
+texi2dvi=./texi2dvi
+
+out=`$texi2dvi --version`
+if test $? -ne 0 || test -z "$out"; then
+ echo "$0: $texi2dvi --version failed." >&2
+ exit 1
+fi
+
+out=`$texi2dvi --help`
+if test $? -ne 0 || test -z "$out"; then
+ echo "$0: $texi2dvi --help failed." >&2
+ exit 1
+fi
+
+exit 0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6395] texi2dvi_helpversion.sh,
Gavin D. Smith <=