summaryrefslogtreecommitdiff
path: root/test/unicode-conformance/run.tests
blob: 110bc1f3626cf48a8ec5851553126bfe5e9685f7 (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/BidiTest$EXEEXT"
test_bidi_character="$builddir/BidiCharacterTest$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