[all-commits] [llvm/llvm-project] 142755: [libc] Add a testing macro for MPFR matchers skipp...
lntue via All-commits
all-commits at lists.llvm.org
Wed Oct 26 15:12:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 14275501516fe6ca896a0428ab8e5e0dc7bff137
https://github.com/llvm/llvm-project/commit/14275501516fe6ca896a0428ab8e5e0dc7bff137
Author: Tue Ly <lntue at google.com>
Date: 2022-10-26 (Wed, 26 Oct 2022)
Changed paths:
M libc/utils/MPFRWrapper/MPFRUtils.h
M libc/utils/UnitTest/LibcTest.cpp
M libc/utils/UnitTest/LibcTest.h
Log Message:
-----------
[libc] Add a testing macro for MPFR matchers skipping `explainError` calls.
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.
Reviewed By: michaelrj, sivachandra
Differential Revision: https://reviews.llvm.org/D136731
More information about the All-commits
mailing list