diff options
-rw-r--r-- | azure-pipelines.yml | 2 | ||||
-rw-r--r-- | azure/community_job.yml | 30 |
2 files changed, 15 insertions, 17 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 67060e4d9e..586edf72e8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -80,5 +80,5 @@ jobs: configurationName: COMMUNITY configurationParameters: >- --enable-debug --enable-zts - CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' + CFLAGS='-fsanitize=undefined,address -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address' diff --git a/azure/community_job.yml b/azure/community_job.yml index 4eaff732da..d785705d3d 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -57,22 +57,20 @@ jobs: sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php php vendor/bin/phpunit displayName: 'Test Laravel' - # Symfony has complicated custom PHPUnit handling -- we'd at least need an - # --ignore-platform-reqs in there, or run the install under a different version. - #- script: | - #- git clone https://github.com/symfony/symfony.git --branch=master --depth=1 - #- cd symfony - #- php7.3 /usr/bin/composer install --no-progress - #- export USE_ZEND_ALLOC=0 - #- export USE_TRACKED_ALLOC=1 - #- export ASAN_OPTIONS=exitcode=139 - #- # Close stdin because we hang on some kind of tty test otherwise. - #- php ./phpunit 0<&- - #- if [ $? -gt 128 ]; then - #- exit 1 - #- fi - #- displayName: 'Test Symfony' - #- condition: or(succeeded(), failed()) + - script: | + git clone https://github.com/symfony/symfony.git --branch=master --depth=1 + cd symfony + php7.3 /usr/bin/composer install --no-progress + php7.3 ./phpunit install + export USE_ZEND_ALLOC=0 + export USE_TRACKED_ALLOC=1 + export ASAN_OPTIONS=exitcode=139 + php ./phpunit --exclude-group tty,benchmark,intl-data,transient + if [ $? -gt 128 ]; then + exit 1 + fi + displayName: 'Test Symfony' + condition: or(succeeded(), failed()) - script: | git clone https://github.com/amphp/amp.git --branch=master --depth=1 cd amp |