Skip to content

Commit f7e91e6

Browse files
committed
[libc++] Allow retries on some slightly flaky mutex tests
1 parent f528816 commit f7e91e6

File tree

2 files changed

+4
-2
lines changed
  • libcxx/test/std/thread/thread.mutex

2 files changed

+4
-2
lines changed

libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
//
8+
99
// UNSUPPORTED: libcpp-has-no-threads
10+
// ALLOW_RETRIES: 2
1011

1112
// <mutex>
1213

libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
//
8+
99
// UNSUPPORTED: libcpp-has-no-threads
10+
// ALLOW_RETRIES: 2
1011

1112
// <mutex>
1213

0 commit comments

Comments
 (0)