summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/omfonts.test
blob: 249b426e06666f90109b496f7ca219f917c134d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /bin/sh -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2009, 2011 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

test -d tests || mkdir -p tests

../pltotf $srcdir/tests/Cherokee tests/Cherokee || exit 1

TEXMFCNF=$srcdir/../../kpathsea \
  ../tftopl tests/Cherokee tests/xCherokee || exit 1

diff $srcdir/tests/Cherokee.pl tests/xCherokee.pl || exit 1

TEXMFCNF=$srcdir/../../kpathsea \
  OFMFONTS=tests \
  ./omfonts -ovp2ovf -verbose $srcdir/tests/OCherokee tests/OCherokee tests/OCherokee || exit 1

TEXMFCNF=$srcdir/../../kpathsea \
  ./omfonts -ofm2opl -verbose tests/OCherokee tests/OCherokee || exit 1

TEXMFCNF=$srcdir/../../kpathsea \
  ./omfonts -opl2ofm -verbose tests/OCherokee tests/xOCherokee || exit 1

TEXMFCNF=$srcdir/../../kpathsea \
  ./omfonts -ofm2opl -verbose tests/xOCherokee tests/xOCherokee || exit 1

diff tests/OCherokee.opl tests/xOCherokee.opl || exit 1

TEXMFCNF=$srcdir/../../kpathsea \
  OFMFONTS=.:./tests \
  ./omfonts -ovf2ovp -verbose tests/OCherokee tests/OCherokee tests/xOCherokee || exit 1

diff $srcdir/tests/OCherokee.ovp tests/xOCherokee.ovp || exit 1