# edk2-cmocka **Repository Path**: switchos/edk2-cmocka ## Basic Information - **Project Name**: edk2-cmocka - **Description**: from: https://github.com/tianocore/edk2-cmocka.git edk2的submodule - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-02-09 - **Last Updated**: 2025-02-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README cmocka ====== cmocka is an elegant unit testing framework for C with support for mock objects. It only requires the standard C library, works on a range of computing platforms (including embedded) and with different compilers. For information about how to use the cmocka unit testing framework see doc/index.html or https://api.cmocka.org/. Compiling --------- To compile the cmocka library and example applications run, create a build dir, and in the build dir call 'cmake /path/to/cmocka' followed by 'make'. On Windows you can use the cmake gui. More details can be found in the INSTALL.md file. Website ------- https://cmocka.org