comparison tests/unicase/test-locale-language.sh @ 40221:8c1a17df67e0

tests: Prepare for using valgrind. tests/*.sh: Invoke all test programs through ${CHECKER}. tests/*/*.sh: Likewise.
author Bruno Haible <bruno@clisp.org>
date Sun, 10 Mar 2019 11:32:11 +0100
parents e57fa2127ab9
children
comparison
equal deleted inserted replaced
40220:2796695e9216 40221:8c1a17df67e0
1 #!/bin/sh 1 #!/bin/sh
2 2
3 LC_ALL=C ./test-locale-language${EXEEXT} '' || exit 1 3 LC_ALL=C ${CHECKER} ./test-locale-language${EXEEXT} '' || exit 1
4 4
5 : ${LOCALE_FR=fr_FR} 5 : ${LOCALE_FR=fr_FR}
6 if test $LOCALE_FR != none; then 6 if test $LOCALE_FR != none; then
7 LC_ALL=$LOCALE_FR ./test-locale-language${EXEEXT} fr || exit 1 7 LC_ALL=$LOCALE_FR ${CHECKER} ./test-locale-language${EXEEXT} fr || exit 1
8 fi 8 fi
9 9
10 : ${LOCALE_FR_UTF8=fr_FR.UTF-8} 10 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
11 if test $LOCALE_FR_UTF8 != none; then 11 if test $LOCALE_FR_UTF8 != none; then
12 LC_ALL=$LOCALE_FR_UTF8 ./test-locale-language${EXEEXT} fr || exit 1 12 LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-locale-language${EXEEXT} fr || exit 1
13 fi 13 fi
14 14
15 : ${LOCALE_JA=ja_JP} 15 : ${LOCALE_JA=ja_JP}
16 if test $LOCALE_JA != none; then 16 if test $LOCALE_JA != none; then
17 LC_ALL=$LOCALE_JA ./test-locale-language${EXEEXT} ja || exit 1 17 LC_ALL=$LOCALE_JA ${CHECKER} ./test-locale-language${EXEEXT} ja || exit 1
18 fi 18 fi
19 19
20 : ${LOCALE_TR_UTF8=tr_TR.UTF-8} 20 : ${LOCALE_TR_UTF8=tr_TR.UTF-8}
21 if test $LOCALE_TR_UTF8 != none; then 21 if test $LOCALE_TR_UTF8 != none; then
22 LC_ALL=$LOCALE_TR_UTF8 ./test-locale-language${EXEEXT} tr || exit 1 22 LC_ALL=$LOCALE_TR_UTF8 ${CHECKER} ./test-locale-language${EXEEXT} tr || exit 1
23 fi 23 fi
24 24
25 : ${LOCALE_ZH_CN=zh_CN.GB18030} 25 : ${LOCALE_ZH_CN=zh_CN.GB18030}
26 if test $LOCALE_ZH_CN != none; then 26 if test $LOCALE_ZH_CN != none; then
27 LC_ALL=$LOCALE_ZH_CN ./test-locale-language${EXEEXT} zh || exit 1 27 LC_ALL=$LOCALE_ZH_CN ${CHECKER} ./test-locale-language${EXEEXT} zh || exit 1
28 fi 28 fi
29 29
30 exit 0 30 exit 0