Skip to content

Commit bfe75da

Browse files
Suppress non-deterministic tests
1 parent 2701a9c commit bfe75da

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/reduce.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
@test vvreduce(+, Int64[]) === Int64(0)
55
@test vvreduce(+, Int16[]) === 0 # here we promote to Int64
6-
@test vvreduce(-, 1:5, init=0) == 15
7-
@test vvreduce(-, 1:5; init=10) == 25
6+
# binary op not associative, so hardly expect to be deterministic
7+
# @test vvreduce(-, 1:5, init=0) == 15
8+
# @test vvreduce(-, 1:5; init=10) == 25
89

910
# llvmcall issue
1011
@test_broken vvmapreduce((x)-> x true, &, [true false true false false], init=true) == false

test/treduce.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33

44
@test vtreduce(+, Int64[]) === Int64(0)
55
@test vtreduce(+, Int16[]) === 0 # here we promote to Int64
6-
@test vtreduce(-, 1:5, init=0) == 15
7-
@test vtreduce(-, 1:5; init=10) == 25
6+
# binary op not associative, so hardly expect to be deterministic
7+
# @test vtreduce(-, 1:5, init=0) == 15
8+
# @test vtreduce(-, 1:5; init=10) == 25
89

910
# llvmcall issue
1011
@test_broken vtmapreduce((x)-> x true, &, [true false true false false], init=true) == false

0 commit comments

Comments
 (0)