Skip to content

Commit

Permalink
Ensure the "kcov-kcov" directory uses a fixed path
Browse files Browse the repository at this point in the history
In ci.yml, codecov assumes that the output directory is
"/tmp/kcov-kcov".

Don't assume that `outbase` is always "/tmp", and instead use the
"/tmp/kcov-kcov" path.
  • Loading branch information
perillo committed Mar 26, 2024
1 parent 1c9b3dc commit 505cb60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/tools/testbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ def do(self, cmdline, kcovKcov=True, timeout=None, kill=False):
extra = (
kcov
+ " --include-pattern=kcov --exclude-pattern=helper.cc,library.cc,html-data-files.cc "
+ outbase
+ "/kcov-kcov "
+ "/tmp/kcov-kcov "
)

cmdline = extra + cmdline
Expand Down

0 comments on commit 505cb60

Please sign in to comment.