Skip to content

Commit 8e9b9c8

Browse files
committed
skip tests if the signal to be sent is not available
1 parent 3042c61 commit 8e9b9c8

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
@@ -1981,6 +1981,10 @@ public function testSignalableCommandInterfaceWithoutSignals()
19811981

19821982
public function testSignalableCommandHandlerCalledAfterEventListener()
19831983
{
1984+
if (!\defined('SIGUSR1')) {
1985+
$this->markTestSkipped('SIGUSR1 not available');
1986+
}
1987+
19841988
$command = new SignableCommand();
19851989

19861990
$subscriber = new SignalEventSubscriber();

0 commit comments

Comments
 (0)