1 config BR2_PACKAGE_GTEST
3 depends on BR2_USE_WCHAR
4 depends on BR2_TOOLCHAIN_HAS_THREADS
5 depends on BR2_INSTALL_LIBSTDCPP
6 depends on BR2_USE_MMU # fork()
8 Google's framework for writing C++ tests on a variety of
9 platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and
10 Symbian). Based on the xUnit architecture. Supports
11 automatic test discovery, a rich set of assertions,
12 user-defined assertions, death tests, fatal and non-fatal
13 failures, value- and type-parameterized tests, various
14 options for running the tests, and XML test report
17 Gtest also allows to easily build testsuites for C programs.
19 This package allows running testsuites on the target which
20 might be advantageous in certain cases.
22 https://github.com/google/googletest
26 config BR2_PACKAGE_GTEST_GMOCK
29 Inspired by jMock, EasyMock, and Hamcrest, and designed with
30 C++'s specifics in mind, Google C++ Mocking Framework (or
31 Google Mock for short) is a library for writing and using C++
36 * lets you create mock classes trivially using simple
37 macros, supports a rich set of matchers and actions,
38 * handles unordered, partially ordered, or completely
40 * is extensible by users, and
41 * works on Linux, Mac OS X, Windows, Windows Mobile, minGW,
44 There are both host and target packages. The target one has
45 include files required to compile the tests and the static
46 libraries required to link/run them. The host package installs
47 gmock_gen, a Python script used to generate code mocks.
49 endif # BR2_PACKAGE_GTEST
51 comment "gtest needs a toolchain w/ C++, wchar, threads"
52 depends on BR2_USE_MMU
53 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
54 !BR2_INSTALL_LIBSTDCPP