nuttx-apps/testing/cxxtest
Peter Bee 63a5ddcc7c testing/cxxtest: increase STACKSIZE to avoid crash
The previous version of cxxtest uses a fixed value(4096) for STACKSIZE,
insufficient when no optimization options are set(CONFIG_DEBUG_NOOPT).
This patch increased the STACKSIZE to CONFIG_DEFAULT_TASK_STACKSIZE for
stability and consistency.

Change-Id: I45a4806d2cda1583f60a5cf24b98b8df58f377d0
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2020-08-03 21:05:01 +01:00
..
cxxtest_main.cxx testing/cxxtest: Fix the compiler warning 2020-07-08 00:18:49 +01:00
Kconfig apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE 2020-07-01 10:03:12 -06:00
Make.defs testing/cxxtest/Make.defs: Append cxxtest to CONFIGURED_APPS (#42) 2020-01-31 14:35:32 +01:00
Makefile testing/cxxtest: increase STACKSIZE to avoid crash 2020-08-03 21:05:01 +01:00
README.md Rewritten READMEs to Markdown 2020-07-25 01:01:51 -07:00

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.