modules: fff: Fix issue with tests being skipped in CI

The filter in the testcase.yaml made it impossible for these to run.
Also, the Kconfig names for the options didn't really make much sense
so they were renamed to avoid conflict.

This fixes an issue found by #36433.

Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
Yuval Peress 2022-03-16 12:06:41 -06:00 committed by Carles Cufí
commit 347a297da2
6 changed files with 15 additions and 11 deletions

View file

@ -2,8 +2,11 @@
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
# Add the Zephyr package and create the project
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(mock_fff)
# Glob the sources and add them to the app
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})

View file

@ -1,3 +1,3 @@
CONFIG_ZTEST=y
CONFIG_FFF_TEST=y
CONFIG_FFF_TEST_C=y
CONFIG_FFF_TEST_TYPE_C=y

View file

@ -1,3 +1,3 @@
CONFIG_ZTEST=y
CONFIG_FFF_TEST=y
CONFIG_FFF_TEST_GLOBAL_C=y
CONFIG_FFF_TEST_TYPE_GLOBAL_C=y