8000 minor #48329 [Console] skip tests if the signal to be sent is not ava… · symfony/symfony@1daeece · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 1daeece

Browse files
committed
minor #48329 [Console] skip tests if the signal to be sent is not available (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [Console] skip tests if the signal to be sent is not available | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 2ada813 skip tests if the signal to be sent is not available
2 parents 961dcec + 2ada813 commit 1daeece

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Console/Tests/ApplicationTest.php

Lines changed: 4 additions & 0 deletions
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)
0