nuttx-apps/testing/cxxtest
Xiang Xiao 2962af6fe6 Fix fatal error: array: No such file or directory
enable test_stl2 only when CONFIG_LIBCXX is enabled
since uClibc++/minic++ doesn't have array header file

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-23 16:51:25 +08:00
..
cxxtest_main.cxx Fix fatal error: array: No such file or directory 2022-10-23 16:51:25 +08:00
Kconfig
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
README.md

Testing / cxxtest C++ STL

This is a test of the C++ standard library. At present a port of the uClibc++ C++ library is available. Due to licensing issues, the uClibc++ C++ library is not included in the NuttX source tree by default, but must be installed (see the README.txt file in the uClibc++ download package for installation).

The uClibc++ test includes simple test of:

  • iostreams,
  • STL,
  • RTTI, and
  • Exceptions

Example Configuration Options

  • CONFIG_TESTING_CXXTEST=y Enables the example

Other Required Configuration Settings

Other NuttX setting that are required include:

  • CONFIG_HAVE_CXX=y
  • CONFIG_HAVE_CXXINITIALIZE=y
  • CONFIG_UCLIBCXX=y or CONFIG_LIBCXX=y

Additional uClibc++/libcxx settings may be required in your build environment.