Skip to content

Conversation

svkeerthy
Copy link
Contributor

Fixing failures due to #161463

Copy link
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Might not be a bad idea to add a reason for the skip though?

  GTEST_SKIP() << "Skipping single test";

M->getTargetTriple(), "", "", Options, Reloc::Model::Static));
ASSERT_TRUE(TM);
TM = std::unique_ptr<TargetMachine>(
T->createTargetMachine(TargetTriple, "", "", Options, std::nullopt));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if T is valid, can TM not be?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just being conservative here to skip such tests, as I was not completely sure if TM cannot not be nullptr if T is valid.

@svkeerthy svkeerthy merged commit 7f82996 into main Oct 7, 2025
5 of 8 checks passed
@svkeerthy svkeerthy deleted the users/svkeerthy/10-07-tests-fix branch October 7, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants