-
Notifications
You must be signed in to change notification settings - Fork 283
Activate symlink tests under Windows #539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Unify the check of the OS (detection of MSYS2/Windows).
Codecov Report
@@ Coverage Diff @@
## master #539 +/- ##
==========================================
- Coverage 96.15% 96.07% -0.09%
==========================================
Files 21 21
Lines 2837 2854 +17
Branches 527 532 +5
==========================================
+ Hits 2728 2742 +14
- Misses 48 49 +1
- Partials 61 63 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing that this works! Thank you for implementing this. I see no bugs, but have a couple of questions/comments.
gcovr/tests/filter-relative-lib-from-unfiltered-tracefile/Makefile
Outdated
Show resolved
Hide resolved
Remove different filter for windows. Rename gcov_realpath to realpath.
88420b6
to
55cc7b8
Compare
55cc7b8
to
2d8f123
Compare
Under Windows we have to use junctions instead of symlinks. As I know a Shell can't
cd
into a symbolic link.With Junctions and a custom
gcov_realpath
for python < 3.8 the tests are now working also on windows.With this change #535 should change the
gcov_realpath
to not resolve the path to a different drive on windows.