You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I'm trying to run gcovr I'm getting this huge message:
(ERROR) GCOV produced the following errors processing /Users/rachelsa/Downloads/matrix_cpp/build/tester/complement.cpp.gcda:
Trouble processing '/Users/rachelsa/Downloads/matrix_cpp/build/tester/complement.cpp.gcda' with working directory '/Users/rachelsa/Downloads/matrix_cpp/build/tester'.
Stdout of gcov was >>None<< End of stdout
Stderr of gcov was >>None<< End of stderr
Exception was >>[Errno 2] No such file or directory: '/path/to/correct/gcov'<< End of stderr
Current processed gcov file was None.
Use option --verbose to get extended information.
(gcovr could not infer a working directory that resolved it.)
To ignore this error use option --gcov-ignore-errors=no_working_dir_found.
Traceback (most recent call last):
File "/opt/goinfre/rachelsa/homebrew/Cellar/gcovr/7.2/libexec/lib/python3.12/site-packages/gcovr/formats/gcov/workers.py", line 80, in worker
work(*args, **kwargs)
File "/opt/goinfre/rachelsa/homebrew/Cellar/gcovr/7.2/libexec/lib/python3.12/site-packages/gcovr/formats/gcov/read.py", line 450, in process_datafile
raise RuntimeError(errors_output)
RuntimeError: GCOV produced the following errors processing /Users/rachelsa/Downloads/matrix_cpp/build/tester/complement.cpp.gcda:
Trouble processing '/Users/rachelsa/Downloads/matrix_cpp/build/tester/complement.cpp.gcda' with working directory '/Users/rachelsa/Downloads/matrix_cpp/build/tester'.
Stdout of gcov was >>None<< End of stdout
Stderr of gcov was >>None<< End of stderr
Exception was >>[Errno 2] No such file or directory: '/path/to/correct/gcov'<< End of stderr
Current processed gcov file was None.
Use option --verbose to get extended information.
(gcovr could not infer a working directory that resolved it.)
To ignore this error use option --gcov-ignore-errors=no_working_dir_found.
Traceback (most recent call last):
File "/opt/goinfre/rachelsa/homebrew/Cellar/gcovr/7.2/libexec/lib/python3.12/site-packages/gcovr/formats/gcov/workers.py", line 80, in worker
work(*args, **kwargs)
File "/opt/goinfre/rachelsa/homebrew/Cellar/gcovr/7.2/libexec/lib/python3.12/site-packages/gcovr/formats/gcov/read.py", line 450, in process_datafile
raise RuntimeError(errors_output)
RuntimeError: GCOV produced the following errors processing /Users/rachelsa/Downloads/matrix_cpp/build/tester/complement.cpp.gcda:
Trouble processing '/Users/rachelsa/Downloads/matrix_cpp/build/tester/complement.cpp.gcda' with working directory '/Users/rachelsa/Downloads/matrix_cpp/build/tester'.
Stdout of gcov was >>None<< End of stdout
Stderr of gcov was >>None<< End of stderr
Exception was >>[Errno 2] No such file or directory: '/path/to/correct/gcov'<< End of stderr
Current processed gcov file was None.
Use option --verbose to get extended information.
(gcovr could not infer a working directory that resolved it.)
To ignore this error use option --gcov-ignore-errors=no_working_dir_found.
Manual calling of gcov with flags gives something like that:
GaussElimination.cpp.gcno:version '408*', prefer 'B32*'
GaussElimination.cpp.gcno:no functions found
georghegel
changed the title
Same versions of compiler/gcovr/gcov and error: version '408*', prefer 'B32*'
Error: version '408*', prefer 'B32*'
May 2, 2024
Describe the bug
When I'm trying to run gcovr I'm getting this huge message:
Manual calling of gcov with flags gives something like that:
To Reproduce
Steps to reproduce the behavior:
make test
gcovr -r .
Expected behavior
I expected that I'll got coverage - but I've got nothing, but errors.
Desktop (please complete the following information):
I would be happy to any help and any links to similar problems, 'cause I didn't find nothing similar.
Thanks! :3
The text was updated successfully, but these errors were encountered: