This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
683f3b7b05
zephyr
/
tests
/
ztest
/
mock_fff
/
prj.conf
4 lines
58 B
Plaintext
Raw
Normal View
History
Unescape
Escape
modules: Add fff mocking framework Issue #38643 Introduce a more powerful and well established mocking framework into Zephyr. It also allows running the actual FFF tests using the zephyr SDK and ztest framework to ensure compatibility. As per TSC meeting, the fff.h header was directly added to subsys/testsuite/include/. As per the guidelines, the file is exactly the same as it is in FFF's library, but re-styled with clang-format. The west.yml entry was added using the "ci" group and filtered by default. (note that the tests will break until the CI actually specifies that the group is needed). Signed-off-by: Yuval Peress <peress@google.com>
2021-09-22 12:30:09 +08:00
CONFIG_ZTEST=y
CONFIG_FFF_TEST=y
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>
2022-03-17 02:06:41 +08:00
CONFIG_FFF_TEST_TYPE_C=y