nuttx-apps/testing/cmocka
Matteo Golin 8d4e872402 !testing/cmocka: Compile cmocka as a libary only by default
BREAKING CHANGE

This commit introduces a Kconfig switch to include the cmocka binary
built from cmocka_main.c. The default behaviour is now changed so that
cmocka is built as a library only, which would be the desired behaviour
for users creating their own cmocka projects.

To restore the old behaviour (where the cmocka program is compiled), add
CONFIG_TESTING_CMOCKA_PROG=y to your legacy configuration.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2026-01-12 10:14:55 +08:00
..
tools
.gitignore
0001-cmocka.c-Reduce-the-call-stack-consumption-of-printf.patch
0002-cmocka-feature-to-forwarding-cmocka-log-message-to-c.patch
0003-cmocka-update-method-for-strmatch-to-regex-and-add-list-all-testcases-function.patch
0004-cmocka-xml-report.patch
0005-cmocka-cmocka_private-fix-warning-in-cmocka_private.patch
0006-fix-linux-risc-v-compile-error-list_initialize.patch
CMakeLists.txt !testing/cmocka: Compile cmocka as a libary only by default 2026-01-12 10:14:55 +08:00
cmocka_main.c
cmocka_platform.h
Kconfig !testing/cmocka: Compile cmocka as a libary only by default 2026-01-12 10:14:55 +08:00
Make.defs
Makefile !testing/cmocka: Compile cmocka as a libary only by default 2026-01-12 10:14:55 +08:00