Skip to content

Conversation

@bjin2364
Copy link

Changes

@codecov-commenter
Copy link

codecov-commenter commented Nov 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.26%. Comparing base (69bd9a3) to head (de678b8).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #459      +/-   ##
==========================================
+ Coverage   85.25%   85.26%   +0.01%     
==========================================
  Files          17       17              
  Lines        1397     1398       +1     
  Branches      132      132              
==========================================
+ Hits         1191     1192       +1     
  Misses        120      120              
  Partials       86       86              
Flag Coverage Δ
unittests 85.26% <100.00%> (+0.01%) ⬆️

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

Files with missing lines Coverage Δ
...time_tools/test/realtime_thread_safe_box_tests.cpp 98.82% <100.00%> (+0.01%) ⬆️

... and 1 file with indirect coverage changes

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

Copy link
Member

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

Thanks.
On rolling we have a windows workflow in the CI, which fails now
D:\a\realtime_tools\realtime_tools\src\ros-controls\realtime_tools\realtime_tools\include\realtime_tools\mutex.hpp(21,1): error C1189: #error: "The mutex.hpp header is not supported on Windows platforms" [D:\a\realtime_tools\realtime_tools\build\realtime_tools\realtime_thread_safe_box_tests.vcxproj]

Can you please make the list of types depending on the platform?

Copy link
Member

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

Thanks!

@christophfroehlich christophfroehlich added backport-jazzy Triggers PR backport to ROS 2 jazzy. backport-kilted Triggers PR backport to ROS 2 kilted. labels Nov 23, 2025
Copy link
Contributor

@fmauch fmauch left a comment

Choose a reason for hiding this comment

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

Looks fine to me. Please see my comment as a suggestion, but feel free to ignore it.

Comment on lines +71 to +77
// Priority mutexes are not available on Windows platforms
#ifdef _WIN32
using TestTypes = ::testing::Types<std::mutex>;
#else
using TestTypes = ::testing::Types<
std::mutex, realtime_tools::prio_inherit_mutex, realtime_tools::prio_inherit_recursive_mutex>;
#endif
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we move that together with the realtime_tools/mutex include?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-jazzy Triggers PR backport to ROS 2 jazzy. backport-kilted Triggers PR backport to ROS 2 kilted.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants