Skip to content

Commit be54d74

Browse files
committed
Update project.yml file to latest ceedling-compatible features.
1 parent a258150 commit be54d74

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

project.yml

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
:project:
1414
# how to use ceedling. If you're not sure, leave this as `gem` and `?`
1515
:which_ceedling: gem
16-
:ceedling_version: '0.32.0'
16+
:ceedling_version: '1.0.0'
1717

1818
# optional features. If you don't need them, keep them turned off for performance
1919
:use_mocks: TRUE
20-
:use_test_preprocessor: FALSE
21-
:use_backtrace: FALSE
20+
:use_test_preprocessor: :none
21+
:use_backtrace: :simple
2222

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

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

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

6464
# Report options (You'll want to choose one stdout option, but may choose multiple stored options if desired)
65-
#- test_suite_reporter
66-
#- report_tests_raw_output_log
67-
- report_tests_pretty_stdout
68-
#- report_tests_ide_stdout
65+
#- report_build_warnings_log
6966
#- report_tests_gtestlike_stdout
70-
#- teamcity_tests_report
71-
#- warnings_report
67+
#- report_tests_ide_stdout
68+
#- report_tests_log_factory
69+
- report_tests_pretty_stdout
70+
#- report_tests_raw_output_log
71+
#- report_tests_teamcity_stdout
72+
73+
# Specify which reports you'd like from the log factory
74+
:report_tests_log_factory:
75+
:reports:
76+
- json
77+
- junit
78+
- cppunit
79+
- html
7280

7381
# override the default extensions for your system and toolchain
7482
:extension:
@@ -142,7 +150,6 @@
142150
:when_no_prototypes: :warn # the options being :ignore, :warn, or :erro
143151

144152
# File configuration
145-
:mock_path: './build/mocks' # Subdirectory to store mocks when generated (default: mocks)
146153
:skeleton_path: '' # Subdirectory to store stubs when generated (default: '')
147154
:mock_prefix: 'mock_' # Prefix to append to filenames for mocks
148155
:mock_suffix: '' # Suffix to append to filenames for mocks

0 commit comments

Comments
 (0)