Skip to content

Commit

Permalink
disable VisualAt tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Sep 24, 2021
1 parent c651c9e commit 85f4b58
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/integration/camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ void CameraTest::VisualAt(const std::string &_renderEngine)
<< _renderEngine << std::endl;
return;
}
else if (_renderEngine == "ogre2")
{
// VisualAt tests fail on CI, see issue #170
// https://github.com/ignitionrobotics/ign-rendering/issues/170
igndbg << "VisualAt test is disabled in " << _renderEngine << "."
<< std::endl;
return;
}

// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
Expand Down
14 changes: 14 additions & 0 deletions test/integration/scene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ using namespace rendering;
class SceneTest: public testing::Test,
public testing::WithParamInterface<const char *>
{
// Documentation inherited
public: void SetUp() override
{
ignition::common::Console::SetVerbosity(4);
}

// Test adding and removing visuals
// Simulates 'levels' where visuals are added and removed throughout
// frame updates
Expand Down Expand Up @@ -148,6 +154,14 @@ void SceneTest::VisualAt(const std::string &_renderEngine)
<< _renderEngine << std::endl;
return;
}
else if (_renderEngine == "ogre2")
{
// VisualAt tests fail on CI, see issue #170
// https://github.com/ignitionrobotics/ign-rendering/issues/170
igndbg << "VisualAt test is disabled in " << _renderEngine << "."
<< std::endl;
return;
}

// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
Expand Down

0 comments on commit 85f4b58

Please sign in to comment.