Skip to content

Commit

Permalink
Fix test skip comment + enable it on Alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
iamluc committed Aug 23, 2024
1 parent a26c76c commit ef15f6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/ext/crashtracker_segfault.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ Send crashtracker report when segmentation fault signal is raised and config ena
<?php
if (!extension_loaded('posix')) die('skip: posix extension required');
if (getenv('SKIP_ASAN') || getenv('USE_ZEND_ALLOC') === '0') die("skip: intentionally causes segfaults");
if (getenv('PHP_PEAR_RUNTESTS') === '1') die("skip: pecl run-tests does not support XFAIL");
if (getenv('PHP_PEAR_RUNTESTS') === '1') die("skip: pecl run-tests does not support %A in EXPECTF");
if (getenv('DD_TRACE_CLI_ENABLED') === '0') die("skip: tracer is disabled");
if (file_exists("/etc/os-release") && preg_match("/alpine/i", file_get_contents("/etc/os-release"))) die("skip Unsupported LIBC");
?>
--ENV--
DD_LOG_BACKTRACE=1
Expand Down

0 comments on commit ef15f6f

Please sign in to comment.