summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/omfonts.test
blob: 7e5169fa769afd129b4c01164e686c660de84e7d (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
#! /bin/sh

# Copyright (C) 2009 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

./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