8000 minor #48325 [Console] skip a test if the signal to be sent is not av… · symfony/symfony@1313c45 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1313c45

Browse files
committed
minor #48325 [Console] skip a test if the signal to be sent is not available (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [Console] skip a test 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 ------- 60edb5d skip a test if the signal to be sent is not available
2 parents 5df5aa0 + 60edb5d commit 1313c45

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
@@ -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)
0