• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This directory contains a set of tests for Android's Bionic Standard C++ library.
2
3You must define the BIONIC_TESTS environment variable to build these
4test programs. For example, do:
5
6    cd system/extras/tests/bionic/libstdc++
7    mm BIONIC_TESTS=1
8
9Preferably, to build and run you can use this:
10
11    runtest_py libstdcpp
12
13All test programs should exit with a status code of 0 in case of success, and 1
14in case of failure.
15
16The directory layout is currently flat because there is one Bionic test. If you
17want to add GNU STDC++ or benchmark tests, look in tests/bionic/libc as an
18example how to structure your files.
19
20