1#! /bin/sh 2 3# Copyright (C) 2011-2015 Peter Breitenlohner <tex-live@tug.org> 4# You may freely use, modify and/or distribute this file. 5 6test -d tests || mkdir -p tests 7 8TEXMFCNF=$srcdir/../../kpathsea 9OFMFONTS=tests 10export TEXMFCNF OFMFONTS 11 12./omfonts -opl2ofm -verbose $srcdir/tests/sample0-h tests/sample0-h || exit 1 13 14./omfonts -opl2ofm -verbose $srcdir/tests/sample0-h tests/sample1-h || exit 1 15 16./omfonts -ofm2opl -verbose sample1-h tests/sample1-h || exit 1 17 18diff $srcdir/tests/sample0-h.opl tests/sample1-h.opl || exit 1 19 20./omfonts -ovp2ovf -verbose $srcdir/tests/sample tests/sample tests/sample || exit 1 21 22./omfonts -ovf2ovp -verbose tests/sample sample tests/xsample.out || exit 1 23 24diff $srcdir/tests/sample.out tests/xsample.out || exit 1 25 26./omfonts -ovp2ovf -verbose $srcdir/tests/sample.ovp tests/sample2.ovf || exit 1 27 28./omfonts -ovf2ovp -verbose tests/sample2 sample2 >tests/xsample2.out || exit 1 29 30diff $srcdir/tests/sample.out tests/xsample2.out || exit 1 31 32