[all-commits] [llvm/llvm-project] d039af: [libc] Create ErrnoCheckingTest harness to simplif...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Tue Mar 18 12:31:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d039af33096c0a83b03475a240d5e281e2271c44
      https://github.com/llvm/llvm-project/commit/d039af33096c0a83b03475a240d5e281e2271c44
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M libc/test/UnitTest/CMakeLists.txt
    A libc/test/UnitTest/ErrnoCheckingTest.h
    M libc/test/src/unistd/CMakeLists.txt
    M libc/test/src/unistd/unlink_test.cpp
    M utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/unistd/BUILD.bazel

  Log Message:
  -----------
  [libc] Create ErrnoCheckingTest harness to simplify errno tests. (#131703)

See the discussion in PR
https://github.com/llvm/llvm-project/pull/131650 on why we need to clear
the errno at the beginning of some tests, and outlining the various solutions.

Introduce ErrnoCheckingTest base class and use it for unlink_test as an example.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list