From be54d7440e0d9c78515070665892af4e15f8b14c Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Thu, 1 Aug 2024 11:26:38 -0400 Subject: [PATCH] Update project.yml file to latest ceedling-compatible features. --- project.yml | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/project.yml b/project.yml index 036a6af..3cbb30f 100644 --- a/project.yml +++ b/project.yml @@ -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 @@ -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: @@ -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: @@ -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