[all-commits] [llvm/llvm-project] d5aa5e: [libc] Update errno usage in integration tests. (#...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Thu Sep 11 21:28:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5aa5e33e6fd7c0d4035be5e7877f275b3205a36
      https://github.com/llvm/llvm-project/commit/d5aa5e33e6fd7c0d4035be5e7877f275b3205a36
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-09-11 (Thu, 11 Sep 2025)

  Changed paths:
    M libc/test/IntegrationTest/test.h
    M libc/test/integration/src/pthread/pthread_create_test.cpp
    M libc/test/integration/src/pthread/pthread_join_test.cpp
    M libc/test/integration/src/pthread/pthread_name_test.cpp
    M libc/test/integration/src/unistd/getcwd_test.cpp
    M libc/test/integration/startup/linux/tls_test.cpp

  Log Message:
  -----------
  [libc] Update errno usage in integration tests. (#158147)

Instead of using libc_errno directly, include <errno.h> and use regular
"errno" in the code. (to verify that errno-as-an-interface works
properly).

This is the recipe prescribed in the libc/src/__support/libc_errno.h
header - let's actually follow it in the integration tests.



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