summaryrefslogtreecommitdiff
path: root/tests/bionic/libc/README.TXT
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bionic/libc/README.TXT')
-rw-r--r--tests/bionic/libc/README.TXT32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/bionic/libc/README.TXT b/tests/bionic/libc/README.TXT
new file mode 100644
index 00000000..5576b77b
--- /dev/null
+++ b/tests/bionic/libc/README.TXT
@@ -0,0 +1,32 @@
+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/bionic-tests/
+ 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.