This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a22e26924d6 cmocka/defconfig: Update defconfigs to include cmocka
application
a22e26924d6 is described below
commit a22e26924d63cbbfc1ea4faa96b04cac030ed928
Author: Matteo Golin <[email protected]>
AuthorDate: Wed Dec 31 14:23:07 2025 -0500
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 <[email protected]>
---
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 c711d7defe2..f94782f57f0 100644
--- a/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig
+++ b/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig
@@ -125,6 +125,7 @@ CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_POPEN=y
CONFIG_SYSTEM_SETLOGMASK=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 6f371fb9a46..f6a89d07530 100644
--- a/boards/sim/sim/sim/configs/citest/defconfig
+++ b/boards/sim/sim/sim/configs/citest/defconfig
@@ -133,6 +133,7 @@ CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_POPEN=y
CONFIG_SYSTEM_SETLOGMASK=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