|
@@ -3,7 +3,7 @@ config BR2_PACKAGE_GTEST
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
|
|
|
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_USE_MMU # fork()
|
|
help
|
|
help
|
|
Google's framework for writing C++ tests on a variety of
|
|
Google's framework for writing C++ tests on a variety of
|
|
@@ -26,7 +26,7 @@ if BR2_PACKAGE_GTEST
|
|
|
|
|
|
config BR2_PACKAGE_GTEST_GMOCK
|
|
config BR2_PACKAGE_GTEST_GMOCK
|
|
bool "gmock"
|
|
bool "gmock"
|
|
- depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-gtest
|
|
|
|
|
|
+ depends on BR2_HOST_GCC_AT_LEAST_5 # host-gtest
|
|
help
|
|
help
|
|
Inspired by jMock, EasyMock, and Hamcrest, and designed with
|
|
Inspired by jMock, EasyMock, and Hamcrest, and designed with
|
|
C++'s specifics in mind, Google C++ Mocking Framework (or
|
|
C++'s specifics in mind, Google C++ Mocking Framework (or
|
|
@@ -48,13 +48,12 @@ config BR2_PACKAGE_GTEST_GMOCK
|
|
libraries required to link/run them. The host package installs
|
|
libraries required to link/run them. The host package installs
|
|
gmock_gen, a Python script used to generate code mocks.
|
|
gmock_gen, a Python script used to generate code mocks.
|
|
|
|
|
|
-comment "gmock needs host gcc >= 4.9"
|
|
|
|
- depends on !BR2_HOST_GCC_AT_LEAST_4_9
|
|
|
|
|
|
+comment "gmock needs host gcc >= 5"
|
|
|
|
+ depends on !BR2_HOST_GCC_AT_LEAST_5
|
|
|
|
|
|
endif # BR2_PACKAGE_GTEST
|
|
endif # BR2_PACKAGE_GTEST
|
|
|
|
|
|
-comment "gtest needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
|
|
|
|
|
|
+comment "gtest needs a toolchain w/ C++, wchar, threads, gcc >= 5"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
- !BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
- !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
|
|
+ !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_5
|