File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1159,6 +1159,7 @@ fn install_sigint_handler() {
11591159// Note that because of these shutdown tests you _have_ to use `cargo nextest`
11601160// instead of `cargo test`, so that each test has its own process and R thread.
11611161#[ test]
1162+ #[ cfg( unix) ]
11621163fn test_shutdown_request ( ) {
11631164 install_sigint_handler ( ) ;
11641165 let frontend = DummyArkFrontend :: lock ( ) ;
@@ -1176,6 +1177,7 @@ fn test_shutdown_request() {
11761177}
11771178
11781179#[ test]
1180+ #[ cfg( unix) ]
11791181fn test_shutdown_request_with_restart ( ) {
11801182 install_sigint_handler ( ) ;
11811183 let frontend = DummyArkFrontend :: lock ( ) ;
@@ -1197,6 +1199,7 @@ static SHUTDOWN_TESTS_ENABLED: bool = false;
11971199// Can shut down Ark when running a nested debug console
11981200// https://github.com/posit-dev/positron/issues/6553
11991201#[ test]
1202+ #[ cfg( unix) ]
12001203fn test_shutdown_request_browser ( ) {
12011204 if !SHUTDOWN_TESTS_ENABLED {
12021205 return ;
@@ -1236,6 +1239,7 @@ fn test_shutdown_request_browser() {
12361239}
12371240
12381241#[ test]
1242+ #[ cfg( unix) ]
12391243fn test_shutdown_request_while_busy ( ) {
12401244 if !SHUTDOWN_TESTS_ENABLED {
12411245 return ;
You can’t perform that action at this time.
0 commit comments