Skip to content

Conversation

JohanMabille
Copy link
Collaborator

@JohanMabille JohanMabille commented Sep 5, 2025

Failures on Windows should be fixed with #554
Failures on OSX shoud be fixed with #556


TEST_CASE("copy semantic")
{
#ifdef SPARROW_TRACK_COPIES
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should always track the copies in the tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree but we should keep it as an opt-in; package managers may want to run the tests, but release without the copy tracking, and that would mean building the library twice.

Copy link

codecov bot commented Oct 1, 2025

Codecov Report

❌ Patch coverage is 68.29268% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.88%. Comparing base (7a2d21c) to head (587a42e).

Files with missing lines Patch % Lines
src/debug/copy_tracker.cpp 64.86% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #555      +/-   ##
==========================================
- Coverage   87.99%   87.88%   -0.11%     
==========================================
  Files         100      101       +1     
  Lines        7654     7695      +41     
==========================================
+ Hits         6735     6763      +28     
- Misses        919      932      +13     
Flag Coverage Δ
unittests 87.88% <68.29%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants