Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1054 disable shm sigbus test for unix platform
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Eltzschig <me@elchris.org>
  • Loading branch information
elfenpiff committed Feb 4, 2022
1 parent a422cde commit 5de984a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ namespace
{
using namespace ::testing;

#if !(defined(unix) | defined(__unix) | defined(__unix__))
TEST(ShmCreatorDeathTest, AllocatingTooMuchMemoryLeadsToExitWithSIGBUS)
{
::testing::Test::RecordProperty("TEST_ID", "d6c8949d-42c9-4b2c-a150-4306cb2a57f6");
Expand Down Expand Up @@ -57,6 +58,7 @@ TEST(ShmCreatorDeathTest, AllocatingTooMuchMemoryLeadsToExitWithSIGBUS)
ASSERT_FALSE(goodShmProvider.addMemoryBlock(&goodmempools).has_error());
ASSERT_FALSE(goodShmProvider.create().has_error());
}
#endif
} // namespace

#endif

0 comments on commit 5de984a

Please sign in to comment.