update test project yml

This commit is contained in:
hathach
2019-11-01 17:49:46 +07:00
parent b25faa97c2
commit ab84731f2a

View File

@@ -18,6 +18,9 @@
:default_tasks: :default_tasks:
- test:all - test:all
#:test_build:
# :use_assembly: TRUE
#:release_build: #:release_build:
# :output: MyApp.out # :output: MyApp.out
# :use_assembly: FALSE # :use_assembly: FALSE
@@ -40,13 +43,12 @@
# in order to add common defines: # in order to add common defines:
# 1) remove the trailing [] from the :common: section # 1) remove the trailing [] from the :common: section
# 2) add entries to the :common: section (e.g. :test: has TEST defined) # 2) add entries to the :common: section (e.g. :test: has TEST defined)
:commmon: &common_defines [] :common: &common_defines
- _UNITY_TEST_
:test: :test:
- *common_defines - *common_defines
- _TEST_
:test_preprocess: :test_preprocess:
- *common_defines - *common_defines
- _TEST_
:cmock: :cmock:
:mock_prefix: mock_ :mock_prefix: mock_
@@ -64,8 +66,15 @@
int8: INT8 int8: INT8
bool: UINT8 bool: UINT8
# Add -gcov to the plugins list to make sure of the gcov plugin
# You will need to have gcov and gcovr both installed to make it work.
# For more information on these options, see docs in plugins/gcov
:gcov: :gcov:
:html_report_type: basic :html_report: TRUE
:html_report_type: detailed
:html_medium_threshold: 75
:html_high_threshold: 90
:xml_report: FALSE
#:tools: #:tools:
# Ceedling defaults to using gcc for compiling, linking, etc. # Ceedling defaults to using gcc for compiling, linking, etc.
@@ -92,4 +101,5 @@
- stdout_pretty_tests_report - stdout_pretty_tests_report
- module_generator - module_generator
- raw_output_report - raw_output_report
- colour_report
... ...