29 lines
1010 B
Plaintext
29 lines
1010 B
Plaintext
config BR2_PACKAGE_CATCH2
|
|
bool "catch2"
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
|
|
depends on BR2_USE_MMU # fork()
|
|
help
|
|
Catch2 is mainly a unit testing framework for C++, but it
|
|
also provides basic micro-benchmarking features, and simple
|
|
BDD macros.
|
|
|
|
Catch2's main advantage is that using it is both simple and
|
|
natural. Tests autoregister themselves and do not have to
|
|
be named with valid identifiers, assertions look like
|
|
normal C++ code, and sections provide a nice way to share
|
|
set-up and tear-down code in tests.
|
|
|
|
This package allows running testsuites on the target which
|
|
might be advantageous in certain cases.
|
|
|
|
https://github.com/catchorg/Catch2
|
|
|
|
comment "catch2 needs a toolchain w/ C++, wchar, threads, gcc >= 5"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|