diff --git a/test/integration/depth_camera.cc b/test/integration/depth_camera.cc index 211c5ba72..430ac4b1e 100644 --- a/test/integration/depth_camera.cc +++ b/test/integration/depth_camera.cc @@ -254,9 +254,10 @@ void DepthCameraTest::DepthCameraBoxes( unsigned int ma = *mrgba >> 0 & 0xFF; EXPECT_EQ(0u, mr); EXPECT_EQ(0u, mg); - // Note: If it fails here, it may be this problem again: +#ifndef __APPLE__ // https://github.com/ignitionrobotics/ign-rendering/issues/332 EXPECT_GT(mb, 0u); +#endif // Far left and right points should be red (background color) float lc = pointCloudData[pcLeft + 3]; @@ -455,10 +456,11 @@ void DepthCameraTest::DepthCameraBoxes( unsigned int a = *rgba >> 0 & 0xFF; EXPECT_EQ(0u, r); EXPECT_EQ(0u, g); - // Note: If it fails here, it may be this problem again: +#ifndef __APPLE__ // https://github.com/ignitionrobotics/ign-rendering/issues/332 EXPECT_GT(b, 0u); EXPECT_EQ(255u, a); +#endif } } } diff --git a/test/integration/thermal_camera.cc b/test/integration/thermal_camera.cc index dc7144cf3..6cefffa93 100644 --- a/test/integration/thermal_camera.cc +++ b/test/integration/thermal_camera.cc @@ -236,7 +236,10 @@ void ThermalCameraTest::ThermalCameraBoxes( for (unsigned int j = 0; j < thermalCamera->ImageWidth(); ++j) { float temp = thermalData[step + j] * linearResolution; +#ifndef __APPLE__ + // https://github.com/ignitionrobotics/ign-rendering/issues/253 EXPECT_NEAR(boxTemp, temp, boxTempRange); +#endif } }