| 1 |
#! /bin/sh -vx |
| 2 |
# $Id: gregorio.test 67911 2023-08-13 13:51:14Z takuji $ |
| 3 |
# Copyright 2016-2017 Karl Berry <[email protected]> |
| 4 |
# Copyright 2015 Peter Breitenlohner <[email protected]> |
| 5 |
# You may freely use, modify and/or distribute this file. |
| 6 |
|
| 7 |
TEXMFCNF=$srcdir/../kpathsea |
| 8 |
|
| 9 |
export TEXMFCNF |
| 10 |
|
| 11 |
# DOCSRC=$srcdir/$GREGORIO_TREE/doc |
| 12 |
|
| 13 |
BinDir=${BinDir:-.} |
| 14 |
ExeExt=${ExeExt:-} |
| 15 |
_gregorio=$BinDir/gregorio$ExeExt |
| 16 |
|
| 17 |
failed= |
| 18 |
|
| 19 |
echo "*** gregorio --version" \ |
| 20 |
&& $_gregorio --version \ |
| 21 |
&& echo && echo "gregorio-version tests OK" && echo \ |
| 22 |
|| failed="$failed gregorio-version" |
| 23 |
|
| 24 |
echo "*** gregorio --help" \ |
| 25 |
&& $_gregorio --help \ |
| 26 |
&& echo && echo "gregorio-help tests OK" && echo \ |
| 27 |
|| failed="$failed gregorio-help" |
| 28 |
|
| 29 |
# echo "*** gregorio -o factus.gtex factus.gabc" \ |
| 30 |
# && $_gregorio -o factus.gtex $DOCSRC/factus.gabc \ |
| 31 |
# && echo && echo "gregorio-factus tests OK" && echo \ |
| 32 |
# || failed="$failed gregorio-factus" |
| 33 |
|
| 34 |
# echo "*** gregorio -o veni.gtex veni.gabc" \ |
| 35 |
# && $_gregorio -o veni.gtex $DOCSRC/veni.gabc \ |
| 36 |
# && echo && echo "gregorio-veni tests OK" && echo \ |
| 37 |
# || failed="$failed gregorio-veni" |
| 38 |
|
| 39 |
test -z "$failed" && exit 0 |
| 40 |
echo |
| 41 |
echo "failed tests:$failed" |
| 42 |
exit 1 |