Skip to content
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
--TEST--
proc_open() with output socketpairs
--SKIPIF--
<?php
if (getenv("SKIP_SLOW_TESTS")) die("SKIP_SLOW_TESTS");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The message must start with skip ... or it won't actually be skipped.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, actually it will, likely by accident. The regex is /^skip\s*(.+)/i instead of /^skip\s+(.+)/i. Anyway, please stick to the existing convention.

Copy link
Contributor Author

@divinity76 divinity76 Jan 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the existing convention

you sure there is one?

sapi/fpm/tests/reload-uses-sigkill-as-last-measure.phpt:

if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');

tests/basic/timeout_variation_9.phpt:

if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");

ext/phar/tests/bug13727.phpt:

<?php if (getenv('SKIP_SLOW_TESTS')) die('skip'); ?>

ext/sockets/tests/socket_shutdown-win32.phpt:

if (getenv("SKIP_SLOW_TESTS")) {
    die('skip: Slow test');
}

ext/curl/tests/bug64267.phpt:

if (getenv("SKIP_ONLINE_TESTS")) die("skip online test");

ext/soap/tests/bug69137.phpt:

if (getenv("SKIP_ONLINE_TESTS")) { die("skip test requiring internet connection"); }

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, we're inconsistent. That doesn't mean we need yet another variation 😉

?>
--FILE--
<?php

Expand Down