summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/yannis.test
blob: a00220bc2e1df5b6b81b4706889fd9935e866f60 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#! /bin/sh

# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

tests=omegaware/tests

test -d $tests || mkdir -p $tests

TEXMFCNF=$srcdir/../kpathsea
OFMFONTS=".;./$tests"
export TEXMFCNF OFMFONTS

echo && echo "*** pltotf arabicr yarabicr"
./pltotf $srcdir/$tests/arabicr $tests/yarabicr || exit 1

echo && echo "*** opl2ofm arabicr.pl zyarabicr"
./wopl2ofm $srcdir/$tests/arabicr.pl $tests/zyarabicr || exit 1

echo && echo "*** cmp yarabicr.tfm zyarabicr.ofm"
cmp $tests/yarabicr.tfm $tests/zyarabicr.ofm || exit 1 

echo && echo "*** ofm2opl yarabicr.tfm xyarabicr"
./wofm2opl $tests/yarabicr.tfm $tests/xyarabicr || exit 1

echo && echo "*** ofm2opl zyarabicr zyarabicr"
./wofm2opl $tests/zyarabicr $tests/zyarabicr || exit 1

echo && echo "*** diff xyarabicr.opl zyarabicr.opl"
diff $tests/xyarabicr.opl $tests/zyarabicr.opl || exit 1

echo && echo "*** ovp2ovf arabic yarabic yarabic"
./wovp2ovf $srcdir/$tests/arabic $tests/yarabic $tests/yarabic || exit 1

echo && echo "*** ofm2opl yarabic.tfm xyarabic"
omegafonts/omfonts -ofm2opl $tests/yarabic $tests/xyarabic || exit 1

echo && echo "*** ofm2opl yarabic.tfm xyarabic"
./wofm2opl $tests/yarabic $tests/xyarabic || exit 77

exit 0
#***************************

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

  ./wovp2ovf $srcdir/$tests/OCherokee $tests/OCherokee $tests/OCherokee || exit 1

  ./wofm2opl $tests/OCherokee $tests/OCherokee || exit 1

  ./wopl2ofm $tests/OCherokee $tests/xOCherokee || exit 1

  ./wofm2opl $tests/xOCherokee $tests/xOCherokee || exit 1

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

  ./wovf2ovp $tests/OCherokee $tests/OCherokee $tests/xOCherokee || exit 1

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