M7350/system/extras/tests/bionic/libc
2024-09-09 08:57:42 +00:00
..
bionic M7350v5_en_gpl 2024-09-09 08:57:42 +00:00
common M7350v5_en_gpl 2024-09-09 08:57:42 +00:00
glibc/assert M7350v5_en_gpl 2024-09-09 08:57:42 +00:00
other M7350v5_en_gpl 2024-09-09 08:57:42 +00:00
Android.mk M7350v5_en_gpl 2024-09-09 08:57:42 +00:00
MODULE_LICENSE_BSD_AND_GPL M7350v5_en_gpl 2024-09-09 08:57:42 +00:00
README.TXT M7350v5_en_gpl 2024-09-09 08:57:42 +00:00
run-test.sh M7350v5_en_gpl 2024-09-09 08:57:42 +00:00

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.