Skip to content

Commit

Permalink
Revert "Enable tests for gazebosim#202 on macOS with Xcode 12+, add c…
Browse files Browse the repository at this point in the history
…atalina workflow (gazebosim#414)"

This reverts commit 0e77816.
  • Loading branch information
scpeters committed Dec 15, 2020
1 parent 9995007 commit b4c71e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 53 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/macos.yml

This file was deleted.

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 b4c71e0

Please sign in to comment.