-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
profile: fix destination for annotated files
If a source file does (include "../../aux/file.ss"), then swish-test could end up trying to write an annotated file.ss.html outside the target directory containing the specified coverage summary report. To fix this we determine a common prefix based on the real paths of the profiled source files and use the distinct suffix as the path within the target directory. The appearance of the coverage report changes slightly since we: - sort entries based on the real path of the file, - use natural-string<? for this sort, and - strip the common prefix from filenames. The result is often more concise than the original and helps to avoid broken hyperlinks in the summary report.
- Loading branch information
1 parent
0af77e2
commit 8489697
Showing
2 changed files
with
46 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters