Skip to content

Commit

Permalink
Disable all tests that have segfaults in MacOs
Browse files Browse the repository at this point in the history
Signed-off-by: Crola1702 <[email protected]>
  • Loading branch information
Crola1702 committed Jul 26, 2024
1 parent 3b702dd commit 574f3aa
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Mesh_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ class MeshTest : public testing::Test,
/////////////////////////////////////////////////
void MeshTest::MeshSubMesh(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -112,6 +116,10 @@ void MeshTest::MeshSubMesh(const std::string &_renderEngine)
/////////////////////////////////////////////////
void MeshTest::MeshSkeleton(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
8 changes: 8 additions & 0 deletions src/OrbitViewController_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ void OrbitViewControllerTest::OrbitViewControl(const std::string &_renderEngine)
void OrbitViewControllerTest::OrbitViewControlCameraConstructor(
const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -131,6 +135,10 @@ void OrbitViewControllerTest::OrbitViewControlCameraConstructor(
/////////////////////////////////////////////////
void OrbitViewControllerTest::Control(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
20 changes: 20 additions & 0 deletions src/Scene_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ void SceneTest::Scene(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::Nodes(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -208,6 +212,10 @@ void SceneTest::Nodes(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::RemoveNodes(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -310,6 +318,10 @@ void SceneTest::RemoveNodes(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::DestroyNodes(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -533,6 +545,10 @@ void SceneTest::DestroyNodes(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::NodeCycle(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -599,6 +615,10 @@ void SceneTest::NodeCycle(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::Materials(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
12 changes: 12 additions & 0 deletions src/TransformController_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ void TransformControllerTest::TransformControl(const std::string &_renderEngine)
/////////////////////////////////////////////////
void TransformControllerTest::WorldSpace(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -203,6 +207,10 @@ void TransformControllerTest::WorldSpace(const std::string &_renderEngine)
/////////////////////////////////////////////////
void TransformControllerTest::LocalSpace(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -317,6 +325,10 @@ void TransformControllerTest::LocalSpace(const std::string &_renderEngine)
/////////////////////////////////////////////////
void TransformControllerTest::Control2d(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
16 changes: 16 additions & 0 deletions src/Visual_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ TEST_P(VisualTest, Material)
/////////////////////////////////////////////////
void VisualTest::Children(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -211,6 +215,10 @@ TEST_P(VisualTest, Children)
/////////////////////////////////////////////////
void VisualTest::Scale(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -302,6 +310,10 @@ TEST_P(VisualTest, Scale)
/////////////////////////////////////////////////
void VisualTest::UserData(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -365,6 +377,10 @@ TEST_P(VisualTest, UserData)
/////////////////////////////////////////////////
void VisualTest::Geometry(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down

0 comments on commit 574f3aa

Please sign in to comment.