M7350/system/extras/tests/bionic/libc/README.TXT
2024-09-09 08:57:42 +00:00

33 lines
1.0 KiB
Plaintext

This directory contains a set of tests for Android's Bionic C library.
These sources are not distributed with Bionic itself because some of
these tests come from the GNU C Library, and are licensed under the
GNU Lesser General Public License (LGPL)
You must define the BIONIC_TESTS environment variable to build these
test programs. For example, do:
cd system/extras/tests/bionic/libc
mm BIONIC_TESTS=1
All test programs, except those in the 'other' directory, should exit
with a status code of 0 in case of success, and 1 in case of failure.
The directory layout is simple:
common/
Contains tests that can be compiled either with Bionic or another
C library.
glibc/
Contains tests that come from the GNU C Library. However, they can
be compiled with Bionic too.
bionic/
Contains tests that can *only* be compiled against Bionic
other/
Other unrelated tests. These are not run by the test runner
program but will be installed to your device nevertheless.
Put benchmarks and various debug/info stuff there.