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 testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
.gitignore ignore zip file 2024-04-04 12:07:21 +08:00
0001-cmocka.c-Reduce-the-call-stack-consumption-of-printf.patch testing/cmocka: update cmocka version and add patch 2023-02-17 23:44:30 +08:00
0002-cmocka-feature-to-forwarding-cmocka-log-message-to-c.patch testing/cmocka: update cmocka version and add patch 2023-02-17 23:44:30 +08:00
0003-cmocka-update-method-for-strmatch-to-regex-and-add-list-all-testcases-function.patch testing/cmocka:add a patch. 2023-08-16 01:00:36 +08:00
0004-cmocka-xml-report.patch add cmocka tools and fix __WORDSIZE not defined warning 2024-02-15 04:56:13 -08:00
0005-cmocka-cmocka_private-fix-warning-in-cmocka_private.patch fix patch error:no such file 2024-03-01 17:06:01 +08:00
0006-fix-linux-risc-v-compile-error-list_initialize.patch fix compile error: list_initialize 2024-03-15 19:46:00 +08:00
CMakeLists.txt !testing/cmocka: Compile cmocka as a libary only by default 2026-01-12 10:14:55 +08:00
cmocka_main.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
cmocka_platform.h testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Kconfig !testing/cmocka: Compile cmocka as a libary only by default 2026-01-12 10:14:55 +08:00
Make.defs testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile !testing/cmocka: Compile cmocka as a libary only by default 2026-01-12 10:14:55 +08:00