Skip to content

Commit 0f8e60c

Browse files
committed
Try to remove a horrible test.
1 parent 40aa0a8 commit 0f8e60c

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

test/libraries/cusolver/sparse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ end
126126
tol = 10^2*eps(real(elty))
127127
d_x = CUSOLVER.csrlsvchol!(d_A,d_b,d_x,tol,zero(Cint),'O')
128128
h_x = collect(d_x)
129-
@test_maybe_broken h_x Array(A)\b
129+
@test h_x Array(A)\b
130130
b = rand(elty,m)
131131
d_b = CuArray(b)
132132
@test_throws DimensionMismatch CUSOLVER.csrlsvchol!(d_A,d_b,d_x,tol,zero(Cint),'O')

test/setup.jl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -180,24 +180,4 @@ function julia_exec(args::Cmd, env...)
180180
proc, read(out, String), read(err, String)
181181
end
182182

183-
# some tests are mysteriously broken with certain hardware/software.
184-
# use a horrible macro to mark those tests as "potentially broken"
185-
@eval Test begin
186-
export @test_maybe_broken
187-
188-
macro test_maybe_broken(ex, kws...)
189-
test_expr!("@test_maybe_broken", ex, kws...)
190-
orig_ex = Expr(:inert, ex)
191-
result = get_test_result(ex, __source__)
192-
quote
193-
x = $result
194-
if x.value
195-
do_test(x, $orig_ex)
196-
else
197-
do_broken_test(x, $orig_ex)
198-
end
199-
end
200-
end
201-
end
202-
203183
nothing # File is loaded via a remotecall to "include". Ensure it returns "nothing".

0 commit comments

Comments
 (0)