2022-10-25 21:01:09 +02:00
|
|
|
config BR2_PACKAGE_CATCH2
|
|
|
|
bool "catch2"
|
|
|
|
depends on BR2_USE_WCHAR
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2023-02-18 12:24:45 +01:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
|
2022-10-25 21:01:09 +02:00
|
|
|
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
|
|
|
|
|
2023-02-18 12:24:45 +01:00
|
|
|
comment "catch2 needs a toolchain w/ C++, wchar, threads, gcc >= 5"
|
2022-10-25 21:01:09 +02:00
|
|
|
depends on BR2_USE_MMU
|
|
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
|
!BR2_INSTALL_LIBSTDCPP || \
|
2023-02-18 12:24:45 +01:00
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|