[libc][NFC] Convert threads unittests in to integration tests.
authorSiva Chandra Reddy <sivachandra@google.com>
Wed, 22 Jun 2022 21:27:57 +0000 (21:27 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Thu, 23 Jun 2022 20:32:33 +0000 (20:32 +0000)
commitd5475af2f7616a66d3c79218c72b6336b7e1f483
tree7c4b2cf1963aead4f756808bee3256711a684759
parent95733a55b986e73f4d8f5314e0d4557d8ae0b226
[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
libc/test/integration/CMakeLists.txt
libc/test/integration/src/CMakeLists.txt
libc/test/integration/src/threads/CMakeLists.txt [moved from libc/test/src/threads/CMakeLists.txt with 74% similarity]
libc/test/integration/src/threads/call_once_test.cpp [moved from libc/test/src/threads/call_once_test.cpp with 92% similarity]
libc/test/integration/src/threads/cnd_test.cpp [moved from libc/test/src/threads/cnd_test.cpp with 93% similarity]
libc/test/integration/src/threads/mtx_test.cpp [moved from libc/test/src/threads/mtx_test.cpp with 94% similarity]
libc/test/integration/src/threads/thrd_test.cpp [moved from libc/test/src/threads/thrd_test.cpp with 86% similarity]
libc/test/src/CMakeLists.txt
libc/utils/IntegrationTest/test.h