Skip to content

Commit

Permalink
Disable strict type test only on Appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
barche committed Apr 13, 2017
1 parent b443492 commit 776c229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ wrap_modules(functions_lib_path)
@test CppHalfFunctions.half_i(-2) == -1
@test CppHalfFunctions.half_u(3) == 1
@test CppHalfFunctions.half_lambda(2.) == 1.
if get(ENV, "MSYSTEM", "") == "" # Disabled on MINGW due to https://discourse.julialang.org/t/c-and-bits-types-confusion/1168/8
if get(ENV, "MSYSTEM", "") == "" || get(ENV, "APPVEYOR", "") == "" # Disabled on MINGW CI due to https://discourse.julialang.org/t/c-and-bits-types-confusion/1168/8
@test CppHalfFunctions.strict_half(3.) == 1.5
end
@test_throws MethodError CppHalfFunctions.strict_half(3)
Expand Down

0 comments on commit 776c229

Please sign in to comment.