Skip to content

Commit

Permalink
Update project.yml file to latest ceedling-compatible features.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandervoord committed Aug 1, 2024
1 parent a258150 commit be54d74
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
:project:
# how to use ceedling. If you're not sure, leave this as `gem` and `?`
:which_ceedling: gem
:ceedling_version: '0.32.0'
:ceedling_version: '1.0.0'

# optional features. If you don't need them, keep them turned off for performance
:use_mocks: TRUE
:use_test_preprocessor: FALSE
:use_backtrace: FALSE
:use_test_preprocessor: :none
:use_backtrace: :simple

# tweak the way ceedling handles automatic tasks
:build_root: build
Expand All @@ -35,10 +35,10 @@
# enable release build (more details in release_build section below)
:release_build: FALSE

# specify additional yaml files to automatically load. This is helpful if you
# want to create project files which specify your tools, and then include those
# shared tool files into each project-specific project.yml file.
:import: []
# Specify where to find mixins and any that should be enabled automatically
:mixins:
:enabled: []
:load_paths: []

# further details to configure the way Ceedling handles test code
:test_build:
Expand All @@ -52,23 +52,31 @@
:load_paths: []
:enabled:
#- beep # beeps when finished, so you don't waste time waiting for ceedling
- module_generator # handy for quickly creating source, header, and test templates
- module_generator # handy for quickly creating source, header, and test templates
#- gcov # test coverage using gcov. Requires gcc, gcov, and a coverage analyzer like gcovr
#- bullseye # test coverage using bullseye. Requires bullseye for your platform
#- command_hooks # write custom actions to be called at different points during the build process
#- compile_commands_json_db # generate a compile_commands.json file
#- compile_commands_json_db # generate a compile_commands.json file
#- dependencies # automatically fetch 3rd party libraries, etc.
#- subprojects # managing builds and test for static libraries
#- fake_function_framework # use FFF instead of CMock

# Report options (You'll want to choose one stdout option, but may choose multiple stored options if desired)
#- test_suite_reporter
#- report_tests_raw_output_log
- report_tests_pretty_stdout
#- report_tests_ide_stdout
#- report_build_warnings_log
#- report_tests_gtestlike_stdout
#- teamcity_tests_report
#- warnings_report
#- report_tests_ide_stdout
#- report_tests_log_factory
- report_tests_pretty_stdout
#- report_tests_raw_output_log
#- report_tests_teamcity_stdout

# Specify which reports you'd like from the log factory
:report_tests_log_factory:
:reports:
- json
- junit
- cppunit
- html

# override the default extensions for your system and toolchain
:extension:
Expand Down Expand Up @@ -142,7 +150,6 @@
:when_no_prototypes: :warn # the options being :ignore, :warn, or :erro

# File configuration
:mock_path: './build/mocks' # Subdirectory to store mocks when generated (default: mocks)
:skeleton_path: '' # Subdirectory to store stubs when generated (default: '')
:mock_prefix: 'mock_' # Prefix to append to filenames for mocks
:mock_suffix: '' # Suffix to append to filenames for mocks
Expand Down

0 comments on commit be54d74

Please sign in to comment.