Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 729 Bytes

File metadata and controls

52 lines (36 loc) · 729 Bytes

Cppcheck Ceedling Example

Very simple project to illustrate the usage of the Cppcheck Plugin.

Note: Cppcheck must be available in your path. e.g.:

project.yml

:environment:
  - :path:
    - path/where/cppcheck/is/located
    - "#{ENV['PATH']}"

Clone this repo

cd somewhere/in/your/machine
git clone --recursive https://github.com/deltalejo/ceedling-cppcheck-example.git
cd ceedling-cppcheck-example

Run analysis

Whole project

ceedling cppcheck

Single file

ceedling cppcheck:main

Run tests

All tests

ceedling test

Single test

ceedling test:main