Update project.yml file to latest ceedling-compatible features.

This commit is contained in:
Mark VanderVoord
2024-08-01 11:26:38 -04:00
parent a2581509b8
commit be54d7440e
+23 -16
View File
@@ -13,12 +13,12 @@
:project: :project:
# how to use ceedling. If you're not sure, leave this as `gem` and `?` # how to use ceedling. If you're not sure, leave this as `gem` and `?`
:which_ceedling: gem :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 # optional features. If you don't need them, keep them turned off for performance
:use_mocks: TRUE :use_mocks: TRUE
:use_test_preprocessor: FALSE :use_test_preprocessor: :none
:use_backtrace: FALSE :use_backtrace: :simple
# tweak the way ceedling handles automatic tasks # tweak the way ceedling handles automatic tasks
:build_root: build :build_root: build
@@ -35,10 +35,10 @@
# enable release build (more details in release_build section below) # enable release build (more details in release_build section below)
:release_build: FALSE :release_build: FALSE
# specify additional yaml files to automatically load. This is helpful if you # Specify where to find mixins and any that should be enabled automatically
# want to create project files which specify your tools, and then include those :mixins:
# shared tool files into each project-specific project.yml file. :enabled: []
:import: [] :load_paths: []
# further details to configure the way Ceedling handles test code # further details to configure the way Ceedling handles test code
:test_build: :test_build:
@@ -52,23 +52,31 @@
:load_paths: [] :load_paths: []
:enabled: :enabled:
#- beep # beeps when finished, so you don't waste time waiting for ceedling #- 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 #- gcov # test coverage using gcov. Requires gcc, gcov, and a coverage analyzer like gcovr
#- bullseye # test coverage using bullseye. Requires bullseye for your platform #- 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 #- 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. #- dependencies # automatically fetch 3rd party libraries, etc.
#- subprojects # managing builds and test for static libraries #- subprojects # managing builds and test for static libraries
#- fake_function_framework # use FFF instead of CMock #- 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) # Report options (You'll want to choose one stdout option, but may choose multiple stored options if desired)
#- test_suite_reporter #- report_build_warnings_log
#- report_tests_raw_output_log
- report_tests_pretty_stdout
#- report_tests_ide_stdout
#- report_tests_gtestlike_stdout #- report_tests_gtestlike_stdout
#- teamcity_tests_report #- report_tests_ide_stdout
#- warnings_report #- 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 # override the default extensions for your system and toolchain
:extension: :extension:
@@ -142,7 +150,6 @@
:when_no_prototypes: :warn # the options being :ignore, :warn, or :erro :when_no_prototypes: :warn # the options being :ignore, :warn, or :erro
# File configuration # File configuration
:mock_path: './build/mocks' # Subdirectory to store mocks when generated (default: mocks)
:skeleton_path: '' # Subdirectory to store stubs when generated (default: '') :skeleton_path: '' # Subdirectory to store stubs when generated (default: '')
:mock_prefix: 'mock_' # Prefix to append to filenames for mocks :mock_prefix: 'mock_' # Prefix to append to filenames for mocks
:mock_suffix: '' # Suffix to append to filenames for mocks :mock_suffix: '' # Suffix to append to filenames for mocks