Open SampaiCody opened 1 year ago
Tried downgrading Ruby to version 2.7.8, but same result.
Tried with Ruby 2.7.8 and Ceedling 0.31.1, also with same result.
Hey @SampaiCody, I am using the following combination, and gcov/gcovr works for me:
Ceedling:: 0.31.1
Unity:: 2.5.4
CMock:: 2.5.4
CException:: 1.3.3
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091)
I am running Ceedling using WSL2.
Hopefully this helps!
I had the same problem, i observed that ceedling only calls "gcovr" directly (defaults_gcov.rb), and thus gcovr python script should be on PATH. I added the Scripts folder of my local Python installation and it now works. you should be able to call gcovr directly without calling it with "python -m gcovr".
It solved the problem in my case
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mingw-ucrt]
Ceedling:: 0.32.0
Unity:: 2.5.4
CMock:: 2.5.4
CException:: 1.3.3
Running on windows with Ruby installer for Windows and MinGW
thank you @podema I solved it on Windows 10 just do this (with the latest Python 3):
Using the following tools:
Project.yml
Running command "ceedling gcov:all" gives expected coverage output.
But then running "ceedling utils:gcov" results in the following output:
It looks like "gcovr.exe --version" is not working somehow, but from the command line it's working fine.
Any help is highly appreciated!