Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This action assumes that GAP coverage has been created by the profiling package #12

Open
wilfwilson opened this issue Jan 28, 2022 · 0 comments

Comments

@wilfwilson
Copy link
Contributor

And it fails with an error if that is not the case.

This is because the following directory does not exist, and looping over fail gives an error:

d := Directory("${COVDIR-coverage}");;
covs := [];;
for f in DirectoryContents(d) do

This means that this action cannot be used by the profiling package itself, even though the following line of this action would be useful for the profiling package:

find . -type f -name '*.gcno' -exec gcov -pb {} +

Resolution

  • Either there should be separate actions for processing GAP code coverage and for processing C/C++ coverage
  • Or this action should gracefully handle the situation where one kind of coverage exists, but not the other kind.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant