This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add a testing macro for MPFR matchers skipping `explainError` calls.
ClosedPublic

Authored by lntue on Oct 25 2022, 7:16 PM.

Details

Summary

Adding EXPECT_MPFR_MATCH_ROUNDING_SILENTLY macro that does not call
explainError when the tests fail. This is useful to check the passing or
failing rates, such as hitting percentages of fast passes in math
implementations.

Diff Detail

Event Timeline

lntue created this revision.Oct 25 2022, 7:16 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 25 2022, 7:16 PM
lntue requested review of this revision.Oct 25 2022, 7:16 PM
lntue updated this revision to Diff 470916.Oct 26 2022, 1:27 PM

Run clang-format.

This revision is now accepted and ready to land.Oct 26 2022, 1:44 PM
sivachandra accepted this revision.Oct 26 2022, 1:46 PM