Skip to content

Commit 3042c61

Browse files
committed
skip a test if the signal to be sent is not available
1 parent f2dd071 commit 3042c61

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/ApplicationTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -1945,6 +1945,10 @@ public function testSignalSubscriber()
19451945
*/
19461946
public function testSetSignalsToDispatchEvent()
19471947
{
1948+
if (!\defined('SIGUSR1')) {
1949+
$this->markTestSkipped('SIGUSR1 not available');
1950+
}
1951+
19481952
$command = new BaseSignableCommand();
19491953

19501954
$subscriber = new SignalEventSubscriber();

0 commit comments

Comments
 (0)