[libcxx-commits] [libcxx] 0791157 - [libc++][test] Remove some `XFAIL` for LLVM libc in multi-threaded tests (#228036)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 1 16:50:18 PDT 2026
Author: A. Jiang
Date: 2026-10-01T23:50:09Z
New Revision: 0791157af02871142368d001fd8c2c1fd2b3a2a6
URL: https://github.com/llvm/llvm-project/commit/0791157af02871142368d001fd8c2c1fd2b3a2a6
DIFF: https://github.com/llvm/llvm-project/commit/0791157af02871142368d001fd8c2c1fd2b3a2a6.diff
LOG: [libc++][test] Remove some `XFAIL` for LLVM libc in multi-threaded tests (#228036)
Recently, LLVM libc fixed https://llvm.org/PR194029 in
https://llvm.org/PR226134, so more libc++ tests passes with LLVM libc
now.
Co-authored-by: Aiden Grossman <aidengrossman at google.com>
Added:
Modified:
libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
libcxx/test/std/input.output/syncstream/osyncstream/thread/several_threads.pass.cpp
libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp b/libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
index 1df75885e4347..d840e3644149e 100644
--- a/libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
+++ b/libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
@@ -20,9 +20,6 @@
// Test that this function works with threads that were not created by
// std::thread. See https://llvm.org/PR30202
-// Segfault
-// XFAIL: LLVM-LIBC-FIXME
-
#include <condition_variable>
#include <mutex>
#include <thread>
diff --git a/libcxx/test/std/input.output/syncstream/osyncstream/thread/several_threads.pass.cpp b/libcxx/test/std/input.output/syncstream/osyncstream/thread/several_threads.pass.cpp
index 82d43c1673d2d..dbf2ded1b532e 100644
--- a/libcxx/test/std/input.output/syncstream/osyncstream/thread/several_threads.pass.cpp
+++ b/libcxx/test/std/input.output/syncstream/osyncstream/thread/several_threads.pass.cpp
@@ -21,9 +21,6 @@
// but the words should be written without interleaving. To increment the
// change of interleaving words are written one character at a time.
-// segmentation fault
-// XFAIL: LLVM-LIBC-FIXME
-
#include <cassert>
#include <chrono>
#include <mutex>
diff --git a/libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp b/libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
index f1b349017b1a5..61094eced4cb2 100644
--- a/libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
+++ b/libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
@@ -23,9 +23,6 @@
//
// void notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk);
-// segmentation fault
-// XFAIL: LLVM-LIBC-FIXME
-
#include "make_test_thread.h"
#include "test_macros.h"
More information about the libcxx-commits
mailing list