[libc-commits] [libc] cd4deef - [libc] Re-enable thrd_test.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Sun Jan 9 22:20:29 PST 2022


Author: Siva Chandra Reddy
Date: 2022-01-10T06:18:51Z
New Revision: cd4deef28e4361af19cd5a208ef51a5f0b26ee61

URL: https://github.com/llvm/llvm-project/commit/cd4deef28e4361af19cd5a208ef51a5f0b26ee61
DIFF: https://github.com/llvm/llvm-project/commit/cd4deef28e4361af19cd5a208ef51a5f0b26ee61.diff

LOG: [libc] Re-enable thrd_test.

Other threads related tests have been using the API that is tested here
without any problems. The main reason for disabling the test has also been
fixed many months ago.

Added: 
    

Modified: 
    libc/test/src/threads/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/threads/CMakeLists.txt b/libc/test/src/threads/CMakeLists.txt
index e37531743dd2f..356a8b06e4084 100644
--- a/libc/test/src/threads/CMakeLists.txt
+++ b/libc/test/src/threads/CMakeLists.txt
@@ -17,19 +17,18 @@ add_libc_unittest(
     libc.src.threads.thrd_join
 )
 
-# Disable thrd_test for now as it is flaky on the bots.
-# add_libc_unittest(
-#   thrd_test
-#   SUITE
-#     libc_threads_unittests
-#   SRCS
-#     thrd_test.cpp
-#   DEPENDS
-#     libc.include.threads
-#     libc.src.errno.__errno_location
-#     libc.src.threads.thrd_create
-#     libc.src.threads.thrd_join
-# )
+add_libc_unittest(
+  thrd_test
+  SUITE
+    libc_threads_unittests
+  SRCS
+    thrd_test.cpp
+  DEPENDS
+    libc.include.threads
+    libc.src.errno.__errno_location
+    libc.src.threads.thrd_create
+    libc.src.threads.thrd_join
+)
 
 add_libc_unittest(
   mtx_test


        


More information about the libc-commits mailing list