[all-commits] [llvm/llvm-project] d5475a: [libc][NFC] Convert threads unittests in to integr...

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Jun 23 13:33:03 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5475af2f7616a66d3c79218c72b6336b7e1f483
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M libc/test/integration/CMakeLists.txt
    M libc/test/integration/src/CMakeLists.txt
    A libc/test/integration/src/threads/CMakeLists.txt
    A libc/test/integration/src/threads/call_once_test.cpp
    A libc/test/integration/src/threads/cnd_test.cpp
    A libc/test/integration/src/threads/mtx_test.cpp
    A libc/test/integration/src/threads/thrd_test.cpp
    M libc/test/src/CMakeLists.txt
    R libc/test/src/threads/CMakeLists.txt
    R libc/test/src/threads/call_once_test.cpp
    R libc/test/src/threads/cnd_test.cpp
    R libc/test/src/threads/mtx_test.cpp
    R libc/test/src/threads/thrd_test.cpp
    M libc/utils/IntegrationTest/test.h

  Log Message:
  [libc][NFC] Convert threads unittests in to integration tests.

This is mostly a mechanical change. In a future pass, all tests from
pthread which create threads will also be converted to integration tests.

Some of thread related features are tightly coupled with the loader. So,
they can only be tested with the in-house loader. Hence, going forward, all
tests which create threads will have to be integration tests.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D128381

More information about the All-commits mailing list