Config.in 1010 B

12345678910111213141516171819202122232425262728
  1. config 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. Catch2's main advantage is that using it is both simple and
  13. natural. Tests autoregister themselves and do not have to
  14. be named with valid identifiers, assertions look like
  15. normal C++ code, and sections provide a nice way to share
  16. set-up and tear-down code in tests.
  17. This package allows running testsuites on the target which
  18. might be advantageous in certain cases.
  19. https://github.com/catchorg/Catch2
  20. comment "catch2 needs a toolchain w/ C++, wchar, threads, gcc >= 5"
  21. depends on BR2_USE_MMU
  22. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
  23. !BR2_INSTALL_LIBSTDCPP || \
  24. !BR2_TOOLCHAIN_GCC_AT_LEAST_5