From 8fab206b3ccb9782be21151b4c66a0c33e1db5bc Mon Sep 17 00:00:00 2001 From: Matteo Golin Date: Wed, 31 Dec 2025 14:23:07 -0500 Subject: [PATCH] cmocka/defconfig: Update defconfigs to include cmocka application The cmocka test framework is compiled as a library by default in (apache/nuttx-apps#3270), and does not include the cmocka application binary unless CONFIG_TESTING_CMOCKA_PROG=y. This commit updates the defconfigs which include cmocka to also compile the cmocka binary, which is the behaviour they were created with. Signed-off-by: Matteo Golin --- boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig | 1 + boards/sim/sim/sim/configs/citest/defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig index 4c3a48c565324..d77e97995b00c 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig @@ -124,6 +124,7 @@ CONFIG_SYMTAB_ORDEREDBYNAME=y CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_POPEN=y CONFIG_TESTING_CMOCKA=y +CONFIG_TESTING_CMOCKA_PROG=y CONFIG_TESTING_CXXTEST=y CONFIG_TESTING_FMEMOPEN_TEST=y CONFIG_TESTING_FOPENCOOKIE_TEST=y diff --git a/boards/sim/sim/sim/configs/citest/defconfig b/boards/sim/sim/sim/configs/citest/defconfig index b8202578eef45..597390f05c1d5 100644 --- a/boards/sim/sim/sim/configs/citest/defconfig +++ b/boards/sim/sim/sim/configs/citest/defconfig @@ -132,6 +132,7 @@ CONFIG_SYSTEM_DUMPSTACK=y CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_POPEN=y CONFIG_TESTING_CMOCKA=y +CONFIG_TESTING_CMOCKA_PROG=y CONFIG_TESTING_CXXTEST=y CONFIG_TESTING_DRIVER_TEST=y CONFIG_TESTING_DRIVER_TEST_SIMPLE=y