-
Notifications
You must be signed in to change notification settings - Fork 139
Fixed gcov not being found in certain instances. #263
Conversation
Codecov Report
@@ Coverage Diff @@
## master #263 +/- ##
=====================================
Coverage 88% 88%
=====================================
Files 2 2
Lines 9 9
=====================================
Hits 8 8
Misses 1 1 |
I have rebased my fork and tested again that this fixes it. |
@thomasrockhu this one is also important as it fixes reported bug #261 |
cmd = sanitize_arg("", codecov.gcov_exec or "").split(" ") | ||
cmd.append("-pb") | ||
if codecov.gcov_args: | ||
cmd.append(sanitize_arg("", codecov.gcov_args or "")) | ||
cmd.append(path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmd = sanitize_arg("", codecov.gcov_exec or "").split(" ") | |
cmd.append("-pb") | |
if codecov.gcov_args: | |
cmd.append(sanitize_arg("", codecov.gcov_args or "")) | |
cmd.append(path) | |
cmd = [ | |
*sanitize_arg("", codecov.gcov_exec or "").split(" "), | |
"-pb", | |
sanitize_arg("", codecov.gcov_args or ""), | |
path, | |
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is how I initially had it, but my CI threw some errors with "" entries if gcov_args not supplied. It was trying to find "" as an input file.
Also I split() gcov_exec due to "llvm-cov-6.0 gcov" possibly being passed in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, with the way it is to unblock users, but would prefer a cleaner look
Thanks! |
See #261