CMake: Add option to enable greentea tests
Add an option to enable the greentea tests independently from the unit
tests.

We can't just use the typical BUILD_TESTING option to enable greentea
tests. BUILD_TESTING enables unit tests and fetches googletest, which
are compiled for the host. Greentea tests are cross compiled and require
a toolchain file. For this reason we add a new option just to enable
greentea tests, preventing build failures triggered by the unit tests
and googletest.
ls
1 parent d4b1534 commit 7842320ab715e63e7069aca1d49f318af8e404ea
@Robert Walton Robert Walton authored on 7 Jul 2021
Showing 14 changed files
View
CMakeLists.txt
View
connectivity/cellular/CMakeLists.txt
View
connectivity/lorawan/CMakeLists.txt
View
connectivity/netsocket/CMakeLists.txt
View
drivers/CMakeLists.txt
View
events/CMakeLists.txt
View
hal/CMakeLists.txt
View
platform/CMakeLists.txt
View
rtos/CMakeLists.txt
View
storage/blockdevice/CMakeLists.txt
View
storage/filesystem/CMakeLists.txt
View
storage/kvstore/CMakeLists.txt
View
storage/kvstore/filesystemstore/CMakeLists.txt
View
storage/kvstore/tdbstore/CMakeLists.txt