Skip to content

Commit 61a0be5

Browse files
committed
Turn off tests in unsupported scenarios.
1 parent d9517ee commit 61a0be5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/dot.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ using Test
241241
@test πest == pi_avx_u4(a, b)
242242
end
243243

244-
@test dotloopinductvarpow(a) dotloopinductvarpowavx(a)
244+
if !(!LoopVectorization.VectorizationBase.AVX2 && T === Int32)
245+
@test dotloopinductvarpow(a) dotloopinductvarpowavx(a)
246+
end
245247
@test dot_from_n_to_100(a, b, 33) == @views mydotavx(a[33:100], b[33:100])
246248

247249
a_re = rand(R, N); a_im = rand(R, N);

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Base.IndexStyle(::Type{<:FallbackArrayWrapper}) = IndexLinear()
4444
@time include("map.jl")
4545

4646
@time include("filter.jl")
47-
48-
@time include("mapreduce.jl")
47+
48+
VERSION v"1.3" && @time include("mapreduce.jl")
4949

5050
@time include("ifelsemasks.jl")
5151

0 commit comments

Comments
 (0)