11 if [ "$verbose" = "1" ]; then
17 if [ "$1" = "-v" ]; then
21 for I in ${srcdir:-.}/collate/*.in; do
23 name=`basename $I .in`
24 ./unicode-collate $I > collate.out
25 if ! diff collate.out ${srcdir:-.}/collate/$name.unicode; then
26 fail "unexpected error when using g_utf8_collate() on $I"
28 ./unicode-collate --key $I > collate.out
29 if ! diff collate.out ${srcdir:-.}/collate/$name.unicode; then
30 fail "unexpected error when using g_utf8_collate_key() on $I"
32 ./unicode-collate --file $I > collate.out
33 if ! diff collate.out ${srcdir:-.}/collate/$name.file; then
34 fail "unexpected error when using g_utf8_collate_key_for_filename() on $I"
38 echo_v "All tests passed."