Skip to content

Commit 51147e2

Browse files
committed
Backport Laravel test hack
The way to work around this changed, backport the version from master.
1 parent f3c45c1 commit 51147e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

azure/community_job.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ jobs:
5252
cd framework
5353
php7.4 /usr/bin/composer install --no-progress
5454
export USE_ZEND_ALLOC=0
55-
sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php
5655
# Avoid test using exit(), which thus leaks.
5756
# We can use USE_TRACKED_ALLOC=1 if more of these show up.
58-
sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php
57+
sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php
58+
# Hack to disable a test that hangs on azure
59+
sed -i 's/PHP_OS/"Darwin"/' tests/Filesystem/FilesystemTest.php
5960
php vendor/bin/phpunit
6061
displayName: 'Test Laravel'
6162
- script: |

0 commit comments

Comments
 (0)