Skip to content

Commit 045e899

Browse files
delete unclear test
1 parent e42bd8b commit 045e899

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

test/threads_exec.jl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -546,20 +546,6 @@ if cfunction_closure
546546
test_thread_cfunction()
547547
end
548548

549-
function test_thread_range()
550-
a = zeros(Int, threadpoolsize())
551-
@threads for i in 1:threadid()
552-
a[i] = 1
553-
end
554-
for i in 1:threadid()
555-
@test a[i] == 1
556-
end
557-
for i in (threadid() + 1):threadpoolsize()
558-
@test a[i] == 0
559-
end
560-
end
561-
test_thread_range()
562-
563549
# Thread safety of `jl_load_and_lookup`.
564550
function test_load_and_lookup_18020(n)
565551
@threads for i in 1:n

0 commit comments

Comments
 (0)