Skip to content

Commit

Permalink
Skip SystemLinkageTest on Power because of #4765
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Jeremic <fjeremic@ca.ibm.com>
  • Loading branch information
fjeremic committed Jan 23, 2020
1 parent f1065ba commit 119ecc1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions fvtest/jitbuildertest/SystemLinkageTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ class SystemLinkageTest : public JitBuilderTest {};

TEST_F(SystemLinkageTest, FooTest)
{
#if defined(PPC)
// TODO (#4765): Fix the Power linkage and enable this test
// TODO (#4764): This is a poor man's SKIP_IF which is only available for Tril tests currently. We should find a
// nice home for this useful utility so we can use it in JitBuilder tests as well.
const ::testing::TestInfo* const test_info = ::testing::UnitTest::GetInstance()->current_test_info();
::testing::Test::RecordProperty("skipped", "Known Bug");
std::cout << "Known Bug" << ": Skipping test: " << test_info->name() << "\n " << "Power system linkage cannot handle stack arguments (see issue #4765)" << "\n";
SUCCEED() << "Power system linkage cannot handle stack arguments (see issue #4765)";
return;
#endif

FooFunction *foo;
ASSERT_COMPILE(OMR::JitBuilder::TypeDictionary, FooBuilder, foo);

Expand Down

0 comments on commit 119ecc1

Please sign in to comment.