annotate tests/test-mbsrchr.sh @ 15887:89c762414427

New module 'atanf'. * lib/math.in.h (atanf): New declaration. * lib/atanf.c: New file. * m4/atanf.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether atanf is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_ATANF, HAVE_ATANF. * modules/math (Makefile.am): Substitute GNULIB_ATANF, HAVE_ATANF. * modules/atanf: New file. * tests/test-math-c++.cc: Check the declaration of atanf. * doc/posix-functions/atanf.texi: Mention the new module.
author Bruno Haible <bruno@clisp.org>
date Sat, 08 Oct 2011 23:55:44 +0200
parents 7929fe70db08
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8130
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 #!/bin/sh
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 # Test whether a specific GB18030 locale is installed.
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 : ${LOCALE_ZH_CN=zh_CN.GB18030}
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 if test $LOCALE_ZH_CN = none; then
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 if test -f /usr/bin/localedef; then
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 echo "Skipping test: no chinese GB18030 locale is installed"
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 else
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 echo "Skipping test: no chinese GB18030 locale is supported"
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 fi
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 exit 77
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 fi
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 LC_ALL=$LOCALE_ZH_CN \
7929fe70db08 Tests for module 'mbsrchr'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 ./test-mbsrchr${EXEEXT}