-
Notifications
You must be signed in to change notification settings - Fork 22
Description
I am trying to get this to work natively in Windows 10. I am testing this with the temp sensor demo: ceedling example temp_sensor
. Ceedling works from the command line. I can do ceedling test:all
and see that all 47 tests pass. I have added xml_tests_report
to the plugins list but the extension is still unhappy. I don't know how to debug this further.
VS Code: 1.85.0
Ceedling: 0.31.1
Ruby: 2.7.3p183
Contents of the project.yml file:
---
# Notes:
# Sample project C code is not presently written to produce a release artifact.
# As such, release build options are disabled.
# This sample, therefore, only demonstrates running a collection of unit tests.
:project:
:use_exceptions: FALSE
:use_test_preprocessor: TRUE
:use_auxiliary_dependencies: TRUE
:build_root: build
# :release_build: TRUE
:test_file_prefix: Test
:which_ceedling: gem
:ceedling_version: '?'
#:release_build:
# :output: TempSensor.out
# :use_assembly: FALSE
:environment: []
:extension:
:executable: .out
:paths:
:test:
- +:test/**
- -:test/support
:source:
- src/**
:support:
- test/support
:defines:
:common: &common_defines []
:test:
- *common_defines
- TEST
:test_preprocess:
- *common_defines
- TEST
:cmock:
:when_no_prototypes: :warn
:enforce_strict_ordering: TRUE
:plugins:
- :ignore
:treat_as:
uint8: HEX8
uint16: HEX16
uint32: UINT32
int8: INT8
bool: UINT8
:libraries:
:system:
- m
:plugins:
:load_paths:
- "#{Ceedling.load_path}"
:enabled:
- stdout_pretty_tests_report
- xml_tests_report
- module_generator
- gcov
- compile_commands_json
The XML report exists and is generated to build/artifacts/test/report.xml
. If I delete the build directory and try to use the extension, I get this error without anything even being generated. It is somehow preemptively and incorrectly deciding it cannot run ceedling. If I run ceedling from the command line, the build directory is regenerated including the report.xml
file.