Skip to content

Commit

Permalink
disable raise test on Windows again
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Jan 4, 2015
1 parent c355304 commit 0f20047
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2022,9 +2022,11 @@ let x = [1,2,3]
end

# sig 2 is SIGINT per the POSIX.1-1990 standard
ccall(:jl_exit_on_sigint, Void, (Cint,), 0)
@test_throws InterruptException ccall(:raise, Void, (Cint,), 2)
ccall(:jl_exit_on_sigint, Void, (Cint,), 1)
if Base.is_unix(OS_NAME)
ccall(:jl_exit_on_sigint, Void, (Cint,), 0)
@test_throws InterruptException ccall(:raise, Void, (Cint,), 2)
ccall(:jl_exit_on_sigint, Void, (Cint,), 1)
end

# pull request #9534
@test try; a,b,c = 1,2; catch ex; (ex::BoundsError).a === (1,2) && ex.i == 3; end
Expand Down

0 comments on commit 0f20047

Please sign in to comment.