From 62000bbaa70a2638588a1c15fc6511609f47b579 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Fri, 7 Nov 2014 09:42:37 +0000 Subject: texk/web2c: Correct help messages for Web2C and C versions of ofm2opl & Co git-svn-id: svn://tug.org/texlive/trunk@35536 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/omegafonts/ChangeLog | 5 +++++ Build/source/texk/web2c/omegafonts/Makefile.am | 6 +++--- Build/source/texk/web2c/omegafonts/Makefile.in | 6 +++--- Build/source/texk/web2c/omegafonts/help.test | 20 ++++++++++++++++++++ Build/source/texk/web2c/omegafonts/omfonts.c | 1 + 5 files changed, 32 insertions(+), 6 deletions(-) create mode 100755 Build/source/texk/web2c/omegafonts/help.test (limited to 'Build/source/texk/web2c/omegafonts') diff --git a/Build/source/texk/web2c/omegafonts/ChangeLog b/Build/source/texk/web2c/omegafonts/ChangeLog index 826f6886191..247d9d3d23e 100644 --- a/Build/source/texk/web2c/omegafonts/ChangeLog +++ b/Build/source/texk/web2c/omegafonts/ChangeLog @@ -1,3 +1,8 @@ +2014-11-08 Peter Breitenlohner + + * omfonts.c: Help texts for C and Web2C versions differ. + * help.test: New shell script to test help messages and options. + 2014-09-22 Peter Breitenlohner * font_routines.c: Fixed packet_table realloc bug. diff --git a/Build/source/texk/web2c/omegafonts/Makefile.am b/Build/source/texk/web2c/omegafonts/Makefile.am index 91eaaea3df1..4ac33f4eced 100644 --- a/Build/source/texk/web2c/omegafonts/Makefile.am +++ b/Build/source/texk/web2c/omegafonts/Makefile.am @@ -96,9 +96,9 @@ endif OTANGLE ## Tests ## -OMFONTS_tests = charwd.test check.test level1.test ligkern.test ofonts.test \ - omfonts.test overbmp.test realnum.test repeat.test selectfont.test \ - shorten.test specialhex.test yannis.test +OMFONTS_tests = charwd.test check.test help.test level1.test ligkern.test \ + ofonts.test omfonts.test overbmp.test realnum.test repeat.test \ + selectfont.test shorten.test specialhex.test yannis.test if OTANGLE TESTS = $(OMFONTS_tests) endif OTANGLE diff --git a/Build/source/texk/web2c/omegafonts/Makefile.in b/Build/source/texk/web2c/omegafonts/Makefile.in index d839d1a27ce..0a214f48c68 100644 --- a/Build/source/texk/web2c/omegafonts/Makefile.in +++ b/Build/source/texk/web2c/omegafonts/Makefile.in @@ -720,9 +720,9 @@ bin_links = \ omfonts$(EXEEXT):ovf2ovp \ omfonts$(EXEEXT):ovp2ovf -OMFONTS_tests = charwd.test check.test level1.test ligkern.test ofonts.test \ - omfonts.test overbmp.test realnum.test repeat.test selectfont.test \ - shorten.test specialhex.test yannis.test +OMFONTS_tests = charwd.test check.test help.test level1.test ligkern.test \ + ofonts.test omfonts.test overbmp.test realnum.test repeat.test \ + selectfont.test shorten.test specialhex.test yannis.test @OTANGLE_TRUE@TESTS = $(OMFONTS_tests) EXTRA_DIST = $(OMFONTS_tests) tests/charwd-r.pl tests/charwd-v.vpl \ diff --git a/Build/source/texk/web2c/omegafonts/help.test b/Build/source/texk/web2c/omegafonts/help.test new file mode 100755 index 00000000000..7850fe9b0ff --- /dev/null +++ b/Build/source/texk/web2c/omegafonts/help.test @@ -0,0 +1,20 @@ +#! /bin/sh + +# Copyright (C) 2014 Peter Breitenlohner +# You may freely use, modify and/or distribute this file. + +echo && echo "*** omfonts -help" +./omfonts -help || exit 1 + +echo && echo "*** ofm2opl -help" +./omfonts -ofm2opl -char=foo -num=bar -text=baz -help || exit 1 + +echo && echo "*** opl2ofm -help" +./omfonts -opl2ofm -char=num -num=hex -text=mixed -help || exit 1 + +echo && echo "*** ovf2ovp -help" +./omfonts -ovf2ovp -char=foo -num=bar -text=baz -help || exit 1 + +echo && echo "*** ovp2ovf -help" +./omfonts -ovp2ovf -char=ascii -num=octal -text=upper -help || exit 1 + diff --git a/Build/source/texk/web2c/omegafonts/omfonts.c b/Build/source/texk/web2c/omegafonts/omfonts.c index 3b836716fd4..0b9f9c3e5c4 100644 --- a/Build/source/texk/web2c/omegafonts/omfonts.c +++ b/Build/source/texk/web2c/omegafonts/omfonts.c @@ -21,6 +21,7 @@ along with Omega; if not, write to the Free Software Foundation, Inc., */ +#define OMFONTS #define OFM2OPL #define OPL2OFM #define OVP2OVF -- cgit v1.2.3