projects
/
julia.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a2fd0c
)
test-skip-sigint
author
Debian Julia Team
<pkg-julia-devel@lists.alioth.debian.org>
Tue, 22 Jan 2019 20:19:55 +0000
(20:19 +0000)
committer
Graham Inggs
<ginggs@debian.org>
Tue, 22 Jan 2019 20:19:55 +0000
(20:19 +0000)
Gbp-Pq: Name test-skip-sigint.patch
test/stress.jl
patch
|
blob
|
history
diff --git
a/test/stress.jl
b/test/stress.jl
index 6acbd382767156d7e19d1887f84be8966692d8c7..e3371adef11f470eb2ddd55719d851903bf7ecd3 100644
(file)
--- a/
test/stress.jl
+++ b/
test/stress.jl
@@
-91,16
+91,3
@@
if !Sys.iswindows()
test_22566()
end
end # !Sys.iswindows
-
-# sig 2 is SIGINT per the POSIX.1-1990 standard
-if !Sys.iswindows()
- ccall(:jl_exit_on_sigint, Cvoid, (Cint,), 0)
- @test_throws InterruptException begin
- ccall(:kill, Cvoid, (Cint, Cint,), getpid(), 2)
- for i in 1:10
- Libc.systemsleep(0.1)
- ccall(:jl_gc_safepoint, Cvoid, ()) # wait for SIGINT to arrive
- end
- end
- ccall(:jl_exit_on_sigint, Cvoid, (Cint,), 1)
-end