Skip to content

Commit

Permalink
Re-disable tests for #202, since they are broken (#438)
Browse files Browse the repository at this point in the history
This reverts part of commit
0e77816.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters authored and azeey committed Dec 24, 2020
1 parent 0d47aeb commit 4bb71b5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/SDF_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ TEST(SDF, UpdateElement)
staticParam->Get(flagCheck);
EXPECT_EQ(flagCheck, fixture.flag);
poseParam->Get(poseCheck);
// test fails on homebrew with Xcode 11 and earlier, see issue 202
// test fails on homebrew see issue 202
// https://github.com/osrf/sdformat/issues/202
#if !(defined(__APPLE__) && defined(__clang_major__) && __clang_major__ < 12)
#ifndef __APPLE__
EXPECT_EQ(poseCheck, fixture.pose);
#endif
}
Expand Down Expand Up @@ -419,9 +419,9 @@ TEST(SDF, GetAny)
}
catch(std::bad_any_cast &/*_e*/)
{
// test fails on homebrew with Xcode 11 and earlier, see issue 202
// test fails on homebrew see issue 202
// https://github.com/osrf/sdformat/issues/202
#if !(defined(__APPLE__) && defined(__clang_major__) && __clang_major__ < 12)
#ifndef __APPLE__
FAIL();
#endif
}
Expand All @@ -437,9 +437,9 @@ TEST(SDF, GetAny)
}
catch(std::bad_any_cast &/*_e*/)
{
// test fails on homebrew with Xcode 11 and earlier, see issue 202
// test fails on homebrew see issue 202
// https://github.com/osrf/sdformat/issues/202
#if !(defined(__APPLE__) && defined(__clang_major__) && __clang_major__ < 12)
#ifndef __APPLE__
FAIL();
#endif
}
Expand Down Expand Up @@ -481,9 +481,9 @@ TEST(SDF, GetAny)
}
catch(std::bad_any_cast &/*_e*/)
{
// test fails on homebrew with Xcode 11 and earlier, see issue 202
// test fails on homebrew see issue 202
// https://github.com/osrf/sdformat/issues/202
#if !(defined(__APPLE__) && defined(__clang_major__) && __clang_major__ < 12)
#ifndef __APPLE__
FAIL();
#endif
}
Expand Down

0 comments on commit 4bb71b5

Please sign in to comment.