Skip to content

Commit c0e15a3

Browse files
committed
Implement fine-grained conflict handling
Tests can specify conflict keys, either in --CONFLICTS-- or a per-directory CONFLICTS file. Non-conflicting tests may be run in parallel.
1 parent 0513d59 commit c0e15a3

File tree

33 files changed

+98
-70
lines changed

33 files changed

+98
-70
lines changed

Zend/tests/@CAN_BE_PARALLELISED

Whitespace-only changes.

Zend/tests/traits/@CAN_BE_PARALLELISED

Whitespace-only changes.

ext/curl/tests/CONFLICTS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
server

ext/date/tests/@CAN_BE_PARALLELISED

Whitespace-only changes.

ext/dom/tests/@CAN_BE_PARALLELISED

Whitespace-only changes.

ext/ftp/tests/CONFLICTS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
server

ext/mysqli/tests/CONFLICTS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mysql

ext/opcache/tests/bug66338.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Bug #66338 (Optimization binding of class constants is not safely opcacheable)
44
opcache.enable=0
55
--SKIPIF--
66
<?php if (!extension_loaded('Zend OPcache') || php_sapi_name() != "cli") die("skip CLI only"); ?>
7+
--CONFLICTS--
8+
server
79
--FILE--
810
<?php
911
$root = str_replace('.php', "", __FILE__);

ext/opcache/tests/issue0115.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ phar.readonly=0
88
<?php require_once('skipif.inc'); ?>
99
<?php if (!extension_loaded("phar")) die("skip"); ?>
1010
<?php if (php_sapi_name() != "cli") die("skip CLI only"); ?>
11+
--CONFLICTS--
12+
server
1113
--FILE--
1214
<?php
1315
$stub = '<?php

ext/opcache/tests/issue0149.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ phar.readonly=0
88
<?php require_once('skipif.inc'); ?>
99
<?php if (!extension_loaded("phar")) die("skip"); ?>
1010
<?php if (php_sapi_name() != "cli") die("skip CLI only"); ?>
11+
--CONFLICTS--
12+
server
1113
--FILE--
1214
<?php
1315
$stub = "<?php header('Content-Type: text/plain;');

0 commit comments

Comments
 (0)