Skip to content
  • Brett Warren's avatar
    unit_test: integrate unity testing framework · 55475b06
    Brett Warren authored
    
    
    New dependencies are added via contrib/cmock:
    
        - CMock, a mock/stub generator and runtime, designed for use with:
        - Unity Test, a simple unit test framework built for C.
    
    These are integrated into the project via unit_test, which provides:
        - configuration for the framework, including project-wide mocks
        - tools for generating new mocks
        - cmake build system configuration allowing modules to be added to the
          test framework
        - doccumentation instructing how to configure and run the test suite and
          add new module test directories.
    
    The new test framework can be built and run via the 'mod_test' target,
    and it is also run in conjuction with framework tests under the existing
    'test' target (to build framework tests independently, use 'fwk_test' target).
    
    Signed-off-by: Sreehari Vadlamudi's avatarsrevad01 <sreehari.vadlamudi@arm.com>
    Signed-off-by: Brett Warren's avatarBrett Warren <brett.warren@arm.com>
    Change-Id: I6174ca8bb78f6fd34ed71d300873ce5de5a5d27b
    55475b06
Loading