numaru / vscode-ceedling-test-adapter

Ceedling Test Adapter for the VS Code Test Explorer
MIT License
37 stars 13 forks source link

Test Explorer Showing "red bang" Icon Even All Tests Passed #116

Closed breakersun closed 1 year ago

breakersun commented 1 year ago

Similar to #108 but I didn't use any ENV in project.yml Ceedling:: 0.32.0 Unity:: 2.5.4 CMock:: 2.5.4 CException:: 1.3.3

Project.yml

Click me ```yaml --- :project: :which_ceedling: gem :ceedling_version: 0.32.0 :use_mocks: TRUE :use_test_preprocessor: TRUE :use_preprocessor_directives: FALSE :use_deep_dependencies: FALSE :use_auxiliary_dependencies: TRUE :use_backtrace_gdb_reporter: FALSE :build_root: build :test_file_prefix: test_ :default_tasks: - test:all :test_threads: 8 :compile_threads: 8 :options_paths: [] :release_build: FALSE :import: [] :test_build: :use_assembly: FALSE :toolchain_include: [] :release_build: :output: MyApp.out :use_assembly: FALSE :artifacts: [] :toolchain_include: [] :plugins: :load_paths: [] :enabled: - stdout_pretty_tests_report - xml_tests_report :extension: :executable: .out :paths: :test: - +:test/** - -:test/support :source: - src/** :support: - test/support :libraries: [] :files: :test: [] :source: [] :defines: :common: &common_defines [] :test: - *common_defines - TEST :test_preprocess: - *common_defines - TEST :release: [] :release_preprocess: [] :use_test_definition: FALSE :cmock: :mock_prefix: mock_ :when_no_prototypes: :warn :enforce_strict_ordering: TRUE :plugins: - :ignore - :ignore_arg - :expect_any_args - :array - :callback - :return_thru_ptr :treat_as: uint8: HEX8 uint16: HEX16 uint32: UINT32 int8: INT8 bool: UINT8 :unity: :defines: - UNITY_EXCLUDE_FLOAT :environment: [] :libraries: :placement: :end :flag: "-l${1}" :path_flag: "-L ${1}" :test: [] :release: [] :gcov: :utilities: - HtmlBasic :gcovr: :html_medium_threshold: 75 :html_high_threshold: 90 ... ```

Problem: image

The report.xml looks good to me:

Click me ```xml test/test_bcr_hpi.c::test_bcr_hpi_DeviceModeGet test/test_bcr_hpi.c::test_bcr_hpi_GetDeviceId test/test_bcr_hpi.c::test_bcr_hpi_ThruPointers 3 0 0 0 0 ```
breakersun commented 1 year ago

duplicated from #114 , close this one