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 committed Dec 15, 2020
1 parent 101c93a commit 800bd05
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 800bd05

Please sign in to comment.