summaryrefslogtreecommitdiff
path: root/fribidi-vs-unicode/run.tests
blob: 13dcfa342e178f138066a172e8e4538f2b91ac9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

test "x$srcdir" = x && srcdir=.
test "x$builddir" = x && builddir=.
test "x$top_builddir" = x && top_builddir=../..

test_bidi="$builddir/test$EXEEXT"
test_bidi_character="$builddir/test-character$EXEEXT"

if test $# = 0; then
	set /dev/stdin
fi

for f in "$@"; do
	if test "x$(basename $f)" = "xBidiTest.txt"; then
		$test_bidi $f || exit 1
	else
		$test_bidi_character $f || exit 1
	fi
done