1This directory contains a set of tests for Android's Bionic C library.
2
3These sources are not distributed with Bionic itself because some of
4these tests come from the GNU C Library, and are licensed under the
5GNU Lesser General Public License (LGPL)
6
7You must define the BIONIC_TESTS environment variable to build these
8test programs. For example, do:
9
10    cd system/extras/tests/bionic/libc
11    mm BIONIC_TESTS=1
12
13All test programs, except those in the 'other' directory, should exit
14with a status code of 0 in case of success, and 1 in case of failure.
15
16The directory layout is simple:
17
18  common/
19    Contains tests that can be compiled either with Bionic or another
20    C library.
21
22  glibc/
23    Contains tests that come from the GNU C Library. However, they can
24    be compiled with Bionic too.
25
26  bionic/
27    Contains tests that can *only* be compiled against Bionic
28
29  other/
30    Other unrelated tests. These are not run by the test runner
31    program but will be installed to your device nevertheless.
32    Put benchmarks and various debug/info stuff there.
33