Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Conversation

@nmoinvaz
Copy link
Contributor

See #261

@codecov
Copy link

codecov bot commented May 22, 2020

Codecov Report

Merging #263 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #263   +/-   ##
=====================================
  Coverage      88%    88%           
=====================================
  Files           2      2           
  Lines           9      9           
=====================================
  Hits            8      8           
  Misses          1      1           

@nmoinvaz
Copy link
Contributor Author

I have rebased my fork and tested again that this fixes it.

@nmoinvaz
Copy link
Contributor Author

@thomasrockhu this one is also important as it fixes reported bug #261

@nmoinvaz
Copy link
Contributor Author

Between the time when I first created my PR #217 and when it was pulled, try_to_run command was converted to take a list instead of a string in 6fe18b3.

Comment on lines +928 to +932
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)
Copy link
Contributor

@thomasrockhu thomasrockhu May 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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,
]

Copy link
Contributor Author

@nmoinvaz nmoinvaz May 29, 2020

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.

Copy link
Contributor

@thomasrockhu thomasrockhu left a 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

@thomasrockhu thomasrockhu merged commit 9830120 into codecov:master May 29, 2020
@nmoinvaz
Copy link
Contributor Author

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants