1config BR2_PACKAGE_CATCH2 2 bool "catch2" 3 depends on BR2_USE_WCHAR 4 depends on BR2_TOOLCHAIN_HAS_THREADS 5 depends on BR2_INSTALL_LIBSTDCPP 6 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 7 depends on BR2_USE_MMU # fork() 8 help 9 Catch2 is mainly a unit testing framework for C++, but it 10 also provides basic micro-benchmarking features, and simple 11 BDD macros. 12 13 Catch2's main advantage is that using it is both simple and 14 natural. Tests autoregister themselves and do not have to 15 be named with valid identifiers, assertions look like 16 normal C++ code, and sections provide a nice way to share 17 set-up and tear-down code in tests. 18 19 This package allows running testsuites on the target which 20 might be advantageous in certain cases. 21 22 https://github.com/catchorg/Catch2 23 24comment "catch2 needs a toolchain w/ C++, wchar, threads, gcc >= 5" 25 depends on BR2_USE_MMU 26 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ 27 !BR2_INSTALL_LIBSTDCPP || \ 28 !BR2_TOOLCHAIN_GCC_AT_LEAST_5 29