Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Fixed gcov not found due to passing cmd string instead of list to try…
Browse files Browse the repository at this point in the history
…_to_run. #261 (#263)
  • Loading branch information
nmoinvaz committed May 29, 2020
1 parent 1c0e078 commit 9830120
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions codecov/__init__.py
Expand Up @@ -931,13 +931,11 @@ def main(*argv, **kwargs):
True,
dont_search_here,
):
cmd = (
sanitize_arg("", codecov.gcov_exec or "")
+ " -pb "
+ sanitize_arg("", codecov.gcov_args or "")
+ " "
+ path
)
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)
write(" Executing gcov (%s)" % cmd)
write(try_to_run(cmd))

Expand Down

0 comments on commit 9830120

Please sign in to comment.