Skip to content

Instantly share code, notes, and snippets.

@avrahamshukron
Created August 15, 2020 20:21
Show Gist options
  • Save avrahamshukron/95e1486dac6e45f83874172b9e94fdca to your computer and use it in GitHub Desktop.
Save avrahamshukron/95e1486dac6e45f83874172b9e94fdca to your computer and use it in GitHub Desktop.
comment "cpputest needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
menuconfig BR2_PACKAGE_CPPUTEST
bool "cpputest"
depends on BR2_INSTALL_LIBSTDCPP
help
CppUTest is a C /C++ based unit xUnit test framework for unit testing
and for test-driving your code. It is written in C++ but is used in C
and C++ projects and frequently used in embedded systems but it works
for any C/C++ project.
http://cpputest.github.io/
if BR2_PACKAGE_CPPUTEST
config BR2_INSTALL_LIBSTDCPP_EXT
bool "cpputest-ext"
depends on !BR2_TOOLCHHAIN_USES_UCLIBC || UCLIBC_HAVE_FENV
help
Compile the CppUTestExt library that contains some useful plugins,
such as Memory Leak Detector, Floating Point Error Detector and more.
comment "CppUTestExt needs a C library w/ fenv support"
depends on BR2_TOOLCHHAIN_USES_UCLIBC && !UCLIBC_HAVE_FENV
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment