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