Skip to content

Commit 89a70e6

Browse files
alexandruagandreeaflorescu
authored andcommitted
tests: changed coverage file name
The latest version of kcov no longer appears to write the coverage info we're looking for in a file named 'index.json'. A new file `index.js` seems to have taken its place so we updated the appropriate constant (KCOV_COVERAGE_FILE) in test_coverage.py from the build tests folder. Signed-off-by: Alexandru Agache <[email protected]>
1 parent 84159c9 commit 89a70e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/build/test_coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
CARGO_KCOV_REL_PATH = os.path.join(host.CARGO_BUILD_REL_PATH, 'kcov')
2424

25-
KCOV_COVERAGE_FILE = 'index.json'
25+
KCOV_COVERAGE_FILE = 'index.js'
2626
"""kcov will aggregate coverage data in this file."""
2727

2828
KCOV_COVERAGE_REGEX = r'"covered":"(\d+\.\d)"'

0 commit comments

Comments
 (0)