buildtools.codecov_to_relative_paths

This tool converts D code coverage files from absolute to relative paths.

D code coverage files are generated based on absolute path names if absolute paths are used in the build command. This is reflected in the file's actual name, which reflects all the path components. The absolute path is also listed at the end of the code coverage report.

This tool checks a coverage file to see if absolute names where used. If so, it renames the file and updates the report to use a relative path.

Copyright (c) 2017-2021, eBay Inc. Initially written by Jon Degenhardt

Members

Functions

main
int main(string[] cmdArgs)

Convert a D code coverage file to use relative paths.

Meta