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

clean_coverage does not remove *.cov files from the julia directory #9

Open
jishnub opened this issue Jun 27, 2020 · 2 comments · May be fixed by #10
Open

clean_coverage does not remove *.cov files from the julia directory #9

jishnub opened this issue Jun 27, 2020 · 2 comments · May be fixed by #10
Labels
bug Something isn't working upstream

Comments

@jishnub
Copy link

jishnub commented Jun 27, 2020

generate_coverage writes out files in both the package src directory as well as the julia installation directory (in /share/julia/base). Running clean_coverage removes the *.cov files from the package, but not from the julia base directory.

@tpapp
Copy link
Collaborator

tpapp commented Apr 12, 2021

I think it would be nicer not to generate these files at all, so I opened an issue for Pkg.

@tpapp tpapp added bug Something isn't working upstream labels Apr 20, 2021
@kbarros
Copy link

kbarros commented Oct 4, 2024

In case it helps others, this can also be achieved with the Unix find command. To list the coverage files recursively, starting from the current directory, one can use

find . -name "*.cov"

To remove all of the coverage files, the find command accepts an additional -delete option:

find . -name "*.cov" -delete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants