This is an archive of the discontinued LLVM Phabricator instance.

[NFC][test] replace empty returns with GTEST_SKIP
ClosedPublic

Authored by supergrecko on May 18 2021, 12:13 PM.

Details

Summary

Now that gtest has been updated to 1.10 which supports GTEST_SKIP, we can use that over return;

This patch replaces returns with GTEST_SKIP for the todo listings added in https://reviews.llvm.org/rGd122d80b3d1c3ffdfbf6a2168f3d61fa4337facc

Diff Detail

Event Timeline

supergrecko requested review of this revision.May 18 2021, 12:13 PM
supergrecko created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2021, 12:13 PM
lhames accepted this revision.May 18 2021, 1:13 PM

LGTM, pending acceptance of https://reviews.llvm.org/D102694.

This revision is now accepted and ready to land.May 18 2021, 1:13 PM

GTEST_SKIP() may be called in OrcCAPITestBase::SetUp() so that checks can be removed in every separate test.

[NFC][test] replace if clauses in all tests with GTEST_SKIP() in SetUp

GTEST_SKIP() may be called in OrcCAPITestBase::SetUp() so that checks can be removed in every separate test.

That also works, thank you for the suggestion. I've updated the revision accordingly.

ikudrin accepted this revision.May 19 2021, 6:06 PM

LGTM, thanks!

I do not have commit access so it'd be great if somebody could land this on my behalf.

This revision was automatically updated to reflect the committed changes.

I do not have commit access so it'd be great if somebody could land this on my behalf.

Done. Thanks for the patch! :)