[all-commits] [llvm/llvm-project] 5a668b: [libc] Migrate sys/epoll tests to use ErrnoCheckin...
Alexey Samsonov via All-commits
all-commits at lists.llvm.org
Mon Mar 24 13:55:08 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5a668bdb98d6507626585cedbff0f18628ed7e5c
https://github.com/llvm/llvm-project/commit/5a668bdb98d6507626585cedbff0f18628ed7e5c
Author: Alexey Samsonov <vonosmas at gmail.com>
Date: 2025-03-24 (Mon, 24 Mar 2025)
Changed paths:
M libc/test/src/sys/epoll/linux/CMakeLists.txt
M libc/test/src/sys/epoll/linux/epoll_create1_test.cpp
M libc/test/src/sys/epoll/linux/epoll_create_test.cpp
M libc/test/src/sys/epoll/linux/epoll_ctl_test.cpp
M libc/test/src/sys/epoll/linux/epoll_pwait2_test.cpp
M libc/test/src/sys/epoll/linux/epoll_pwait_test.cpp
M libc/test/src/sys/epoll/linux/epoll_wait_test.cpp
M utils/bazel/llvm-project-overlay/libc/test/src/sys/epoll/BUILD.bazel
Log Message:
-----------
[libc] Migrate sys/epoll tests to use ErrnoCheckingTest. (#132823)
This is similar to PR #132107 but for tests for sys/epoll.h functions.
ErrnoCheckingTest ensures that errno is properly reset at the beginning
of the test case, and is validated at the end of it, so that the manual
code such as the one proposed in PR #131650 would not be necessary.
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