From a832e099e85f3d56cc176bc462485b1922a21117 Mon Sep 17 00:00:00 2001 From: Helge Eichhorn Date: Tue, 5 Mar 2019 09:48:17 +0100 Subject: [PATCH] Bail on dskx02/dskxsi test The results of these functions are inconsistent between the 32-bit and 64-bit as well as the C and Fortran versions of SPICE. Hence, the Julia wrapper is probably not to blame. --- test/d.jl | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/test/d.jl b/test/d.jl index 66b518e..3f1a2b8 100644 --- a/test/d.jl +++ b/test/d.jl @@ -577,12 +577,8 @@ vertex = latrec(r, 0.0, 0.0) raydir = -vertex plid, xpt = dskx02(handle, dladsc, vertex, raydir) - if Sys.WORD_SIZE == 64 - @test plid == 421 - else - # TODO: This result is different on 32-bit machines (even in C). Is this a bug in CSPICE? - @test plid == 423 - end + # TODO: The results of this function are inconsistent for different versions of SPICE + @test_skip plid == 421 @test xpt ≈ [12.36679999999999957083, 0.0, 0.0] finally kclear() @@ -602,12 +598,8 @@ srflst = [dskdsc.surfce] xpt, handle, dladsc2, dskdsc2, dc, ic = dskxsi(false, target, srflst, 0.0, fixref, vertex, raydir) - if Sys.WORD_SIZE == 64 - @test ic[1] == 420 - else - # TODO: This result is different on 32-bit machines (even in C). Is this a bug in CSPICE? - @test ic[1] == 423 - end + # TODO: The results of this function are inconsistent for different versions of SPICE + @test_skip ic[1] == 420 @test dc[1] == 0.0 @test xpt ≈ [12.36679999999999957083, 0.0, 0.0] finally