Skip to content

Commit fb57dc9

Browse files
committed
cmocka/defconfig: Update defconfigs to include cmocka application
The cmocka test framework is now compiled as a library by default, and does not include the `cmocka` application binary unless `CONFIG_TESTING_CMOCKA_ASLIB=n`. 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 <matteo.golin@gmail.com>
1 parent a3ada5c commit fb57dc9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ CONFIG_SYMTAB_ORDEREDBYNAME=y
124124
CONFIG_SYSTEM_NSH=y
125125
CONFIG_SYSTEM_POPEN=y
126126
CONFIG_TESTING_CMOCKA=y
127+
CONFIG_TESTING_CMOCKA_ASLIB=n
127128
CONFIG_TESTING_CXXTEST=y
128129
CONFIG_TESTING_FMEMOPEN_TEST=y
129130
CONFIG_TESTING_FOPENCOOKIE_TEST=y

boards/sim/sim/sim/configs/citest/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ CONFIG_SYSTEM_DUMPSTACK=y
132132
CONFIG_SYSTEM_NSH=y
133133
CONFIG_SYSTEM_POPEN=y
134134
CONFIG_TESTING_CMOCKA=y
135+
CONFIG_TESTING_CMOCKA_ASLIB=n
135136
CONFIG_TESTING_CXXTEST=y
136137
CONFIG_TESTING_DRIVER_TEST=y
137138
CONFIG_TESTING_DRIVER_TEST_SIMPLE=y

0 commit comments

Comments
 (0)