Skip to content

Commit e3cc3ea

Browse files
committed
Assert extracted grcov is a file
1 parent d0f8ee7 commit e3cc3ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

report/firefox_code_coverage/codecoverage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ def download_grcov():
304304
# Get version from grcov binary
305305
grcov = os.path.join(dest, "grcov", "grcov")
306306
assert os.path.exists(grcov), "Missing grcov binary"
307+
assert os.path.isfile(grcov), "grcov should be a file"
307308
version = subprocess.check_output([grcov, "--version"]).decode("utf-8")
308309

309310
# Compare version with currently available

0 commit comments

Comments
 (0)