2021-09-22 12:30:09 +08:00
|
|
|
# Copyright (c) 2021 Google LLC
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config ZEPHYR_FFF_MODULE
|
|
|
|
bool
|
|
|
|
|
2022-03-17 02:06:41 +08:00
|
|
|
menuconfig FFF_TEST
|
2021-09-22 12:30:09 +08:00
|
|
|
bool "FFF Test suite"
|
|
|
|
help
|
|
|
|
Enable the FFF test suite. This should really only be called from the tests for FFF under
|
|
|
|
tests/ztest/mock_fff/. It brings in the test sources from the upstream FFF module.
|
|
|
|
|
|
|
|
if FFF_TEST
|
|
|
|
|
2022-03-17 02:06:41 +08:00
|
|
|
choice FFF_TEST_TYPE
|
2021-09-22 12:30:09 +08:00
|
|
|
prompt "The type of FFF test to bring in"
|
|
|
|
|
2022-03-17 02:06:41 +08:00
|
|
|
config FFF_TEST_TYPE_C
|
2021-09-22 12:30:09 +08:00
|
|
|
bool "Compile the FFF default C test suite as a zephyr library"
|
|
|
|
|
2022-03-17 02:06:41 +08:00
|
|
|
config FFF_TEST_TYPE_GLOBAL_C
|
2021-09-22 12:30:09 +08:00
|
|
|
bool "Compile the FFF global C test suite as a zephyr library"
|
|
|
|
|
2022-03-17 02:06:41 +08:00
|
|
|
endchoice # FFF_TEST_TYPE
|
2021-09-22 12:30:09 +08:00
|
|
|
|
|
|
|
endif # FFF_TEST
|