Skip to content

Commit e13c1cd

Browse files
committed
disable test
Signed-off-by: Ian Chen <[email protected]>
1 parent 690e73b commit e13c1cd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Utils_TEST.cc

+9
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,15 @@ void UtilTest::ClickToScene(const std::string &_renderEngine)
132132
// API without RayQueryResult and default max distance
133133
result = screenToScene(centerClick, camera, rayQuery, rayResult);
134134

135+
if (_renderEngine == "ogre2")
136+
{
137+
// tests using selection buffer fail on CI, see issue #170
138+
// https://github.com/ignitionrobotics/ign-rendering/issues/170
139+
igndbg << "Selection buffer based screenToScene test is disabled in "
140+
<< _renderEngine << "." << std::endl;
141+
return;
142+
}
143+
135144
// high tol is used for z due to depth buffer precision.
136145
// Do not merge the tol changes forward to ign-rendering6.
137146
EXPECT_NEAR(0.5, result.Z(), 1e-3);

0 commit comments

Comments
 (0)