meta data for this page
  •  

This is an old revision of the document!


Ceedling

  • support files - additional C files needed for tests but not for project (not added to project src).

add .c file

When ceedling fails to pickup automatically .c file it can be added to given test by

TEST_FILE("source_file_to_compile.c")

enable valgrind

:tools:
  :pre_test_fixture_execute:
    :executable: valgrind
    :arguments:
      - --track-origins=yes
      - --leak-check=full
      - --show-leak-kinds=all
      - --errors-for-leak-kinds=all
      - --error-exitcode=10
      - ${1}
:plugins:
  :enabled:
    - command_hooks