Skip to content

Commit d64f83a

Browse files
[test] disable a part of unittests/runtime/Concurrent.cpp for single-thread runtime
1 parent 722d790 commit d64f83a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unittests/runtime/Concurrent.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ TEST(ConcurrentReadableArrayTest, SingleThreaded) {
4545
check();
4646
}
4747

48+
#ifndef SWIFT_STDLIB_SINGLE_THREADED_RUNTIME
49+
4850
TEST(ConcurrentReadableArrayTest, MultiThreaded) {
4951
const int insertCount = 100000;
5052

@@ -542,3 +544,4 @@ TEST(ConcurrentReadableHashMapTest, MultiThreaded4) {
542544
runTest(16, 1);
543545
runTest(16, 8);
544546
}
547+
#endif // !SWIFT_STDLIB_SINGLE_THREADED_RUNTIME

0 commit comments

Comments
 (0)