summaryrefslogtreecommitdiff
path: root/Build/source/texk/gregorio/gregorio.test
blob: c7f9d42b09485cfc3243013f39702ad48f23c355 (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
#! /bin/sh -vx
# $Id$
# Copyright 2016-2017 Karl Berry <tex-live@tug.org>
# Copyright 2015 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

TEXMFCNF=$srcdir/../kpathsea

export TEXMFCNF

# DOCSRC=$srcdir/$GREGORIO_TREE/doc

gregorio=gregorio

failed=

echo "*** gregorio --version" \
	&& ./$gregorio --version \
	&& echo && echo "gregorio-version tests OK" && echo \
	|| failed="$failed gregorio-version"

echo "*** gregorio --help" \
	&& ./$gregorio --help \
	&& echo && echo "gregorio-help tests OK" && echo \
	|| failed="$failed gregorio-help"

# echo "*** gregorio -o factus.gtex factus.gabc" \
# 	&& ./$gregorio -o factus.gtex $DOCSRC/factus.gabc \
# 	&& echo && echo "gregorio-factus tests OK" && echo \
# 	|| failed="$failed gregorio-factus"

# echo "*** gregorio -o veni.gtex veni.gabc" \
# 	&& ./$gregorio -o veni.gtex $DOCSRC/veni.gabc \
# 	&& echo && echo "gregorio-veni tests OK" && echo \
# 	|| failed="$failed gregorio-veni"

test -z "$failed" && exit 0
echo
echo "failed tests:$failed"
exit 1