-
Notifications
You must be signed in to change notification settings - Fork 283
search_paths in configuration file #1040
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 term 8000 s of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you explain your directory layout? |
I have the Makefile, config file and other files needed for running unit tests in 'child' folder. The source files are one level above, aka 'parent' folder. I run make, executables and also gcovr cli from child folder, hence the command gcovr ../ works. |
And the config file with the search paths is in the working directory? |
Yes, the config file is in the working directory. |
Can you post the start of the verbose outputs where the configuration is printed? |
This is the gcovr.cfg file:
|
Github is turning my console output into bullet points please ignore that |
Not Github, this is Markdown syntax. Use always verbatim text blocks. |
Can you add the command line and the working directory? |
Pls note: I have changed directory names to safeguard some sensitive data just in case |
This is when override the config file's search paths with cli. I guess the question is, how do I specify the parent directory as a relative path in the config file for the search-path? |
Now I get the problem. The path |
I am using gcovr version 5.0 Edit: So the only solution is to upgrade to 5.2? |
Or the newest one. |
Got it...Thank you! Will mark this as closed. |
I want to use ../ (parent directory) as search_paths. If I pass the command gcovr ../ in cli, it works fine (checked in verbose as well, it scans the ../ directory). However, if I use a configuration file and put search-path = ../ it doesn't work and instead scans the . directory. What should I put as the value for search-path?
The text was updated successfully, but these errors were encountered: