[libc-commits] [PATCH] D106086: [libc] Add a new test matcher for tests raising floating point exceptions.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jul 15 11:22:02 PDT 2021


sivachandra created this revision.
sivachandra added reviewers: mcgrathr, aeubanks, caitlyncano.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
sivachandra requested review of this revision.

This new matcher does not use death tests to check if SIGFPE is raised.
Instead, that a SIGFPE was raised is checked using a SIGFPE signal handler.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106086

Files:
  libc/test/src/CMakeLists.txt
  libc/test/src/fenv/CMakeLists.txt
  libc/test/src/fenv/enabled_exceptions_test.cpp
  libc/test/src/fenv/feholdexcept_test.cpp
  libc/test/src/math/CMakeLists.txt
  libc/utils/FPUtil/TestHelpers.cpp
  libc/utils/FPUtil/TestHelpers.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106086.359064.patch
Type: text/x-patch
Size: 9174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210715/87e1c4fb/attachment.bin>


More information about the libc-commits mailing list