Closed NovaNekmit closed 3 years ago
π I forgot about that workaround (ref #51). I think we could take the last updated file. We would save up a setting option and stay gcov agnostic.
it should be fixed in the 1.8.2
But there is another problem for me. The command now fails. I think because some gcov files are missing. It leads to a red warning on all the tests. It may be related to https://github.com/ThrowTheSwitch/Ceedling/issues/329
Works fine for me. Thanks for the quick fix.
No errors, unless I tell ceedling to fail on missing coverage, ie via
:gcov:
:abort_on_uncovered: TRUE
:gcovr:
:fail_under_line: 100
:fail_under_branch: 100
Then it fails (as it should, as the gcov:utils
target is executed after each test suite).
Yep mb, the issue is fixed and the messages are not the cause of the red warnings. I just forgot to reload my extension in vscode after the update π
Thank you for the contribution βΊοΈ
(Code-Reference: https://github.com/numaru/vscode-ceedling-test-adapter/blob/master/src/adapter.ts#L692)
Currently the report xml is always loaded from the
artifacts/test/
directory, but doingceedling gcov:<test>
writes the report toartifacts/gcov/
instead. So one must run bothgcov:${TEST_ID}
(to get the coverage) andtest:${TEST_ID}
(so this adapter can find the xml).This means running the tests twice, when the report.xml could instead just be read from the gcov directory instead.