Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ext/phar/tests/033a.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ phar
--INI--
phar.readonly=1
phar.require_hash=0
--SKIPIF--
<?php
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
die("flaky Occasionally segfaults on macOS for unknown reasons");
}
?>
--FILE--
<?php
$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php';
Expand Down
6 changes: 6 additions & 0 deletions ext/phar/tests/phar_oo_002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ phar
--INI--
phar.readonly=1
phar.require_hash=0
--SKIPIF--
<?php
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
die("flaky Occasionally segfaults on macOS for unknown reasons");
}
?>
--FILE--
<?php

Expand Down
6 changes: 6 additions & 0 deletions ext/phar/tests/stat.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ phar
--INI--
phar.require_hash=1
phar.readonly=0
--SKIPIF--
<?php
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
die("flaky Occasionally segfaults on macOS for unknown reasons");
}
?>
--FILE--
<?php
umask(0);
Expand Down
6 changes: 6 additions & 0 deletions ext/phar/tests/tar/033a.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ phar
--INI--
phar.readonly=0
phar.require_hash=0
--SKIPIF--
<?php
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
die("flaky Occasionally segfaults on macOS for unknown reasons");
}
?>
--FILE--
<?php

Expand Down
6 changes: 6 additions & 0 deletions ext/phar/tests/zip/033a.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ phar
--INI--
phar.readonly=0
phar.require_hash=0
--SKIPIF--
<?php
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
die("flaky Occasionally segfaults on macOS for unknown reasons");
}
?>
--FILE--
<?php

Expand Down
3 changes: 3 additions & 0 deletions run-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -2159,6 +2159,9 @@ function run_test(string $php, $file, array $env): string
} elseif (!strncasecmp('xfail', $output, 5)) {
// Pretend we have an XFAIL section
$test->setSection('XFAIL', ltrim(substr($output, 5)));
} elseif (!strncasecmp('flaky', $output, 5)) {
// Pretend we have a FLAKY section
$test->setSection('FLAKY', ltrim(substr($output, 5)));
} elseif ($output !== '') {
show_result("BORK", $output, $tested_file, 'reason: invalid output from SKIPIF', $temp_filenames);
$PHP_FAILED_TESTS['BORKED'][] = [
Expand Down
Loading