Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get more useful diagnostics in case of test failures #2137

Merged
merged 1 commit into from Nov 28, 2023

Conversation

ellert
Copy link
Contributor

@ellert ellert commented Nov 28, 2023

EXPECT_EQ( A, B ) provides more useful diagnostics than EXPECT_TRUE ( A == B ).

EXPECT_NE( A, B ) provides more useful diagnostics than EXPECT_TRUE ( A != B ).

EXPECT_EQ( A, B ) provides more useful diagnostics than
EXPECT_TRUE ( A == B ).

EXPECT_NE( A, B ) provides more useful diagnostics than
EXPECT_TRUE ( A != B ).
@amadio amadio self-assigned this Nov 28, 2023
@amadio
Copy link
Member

amadio commented Nov 28, 2023

Very nice, thank you! The plan is to gradually convert all CppUnit based tests to GTest, then remove them. CppUnit has problems with lto among other things. But these changes are good in any case (talking about the XrdCeph tests here).

@amadio amadio merged commit c8c3a9a into xrootd:devel Nov 28, 2023
13 checks passed
@ellert ellert deleted the better-errors branch November 28, 2023 11:55
@amadio amadio added this to the 5.6.4 milestone Dec 8, 2023
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.

None yet

2 participants