Skip to content
Permalink
Browse files

Use __DIR__ for SKIPIF utils require for directory independent test runs

  • Loading branch information...
derickr committed Jun 5, 2019
1 parent 9b67283 commit c9fcd8683034674e3ecf3d77627a5beec823e984
Showing 349 changed files with 349 additions and 349 deletions.
@@ -2,7 +2,7 @@
Test for tracing property assignments in user-readable function traces (>= PHP 7.2, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.2; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for tracing property assignments in user-readable function traces (< PHP 7.2 || !opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
if ( ! ( runtime_version('7.2', '<') || !opcache_active() ) ) {
echo "skip < PHP 7.2 || !opcache loaded needed\n";
}
@@ -2,7 +2,7 @@
Test for tracing array assignments in user-readable function traces (>= PHP 7.2, < PHP 7.3, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.2,< 7.3; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for tracing array assignments in user-readable function traces (>= PHP 7.3.2, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.3.2; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for tracing array assignments in user-readable function traces (< PHP 7.2 || !opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
if ( ! ( runtime_version('7.2', '<') || !opcache_active() ) ) {
echo "skip < PHP 7.2 || !opcache loaded needed\n";
}
@@ -2,7 +2,7 @@
Test for tracing assignments in user-readable function traces (< PHP 7.2, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP < 7.2; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for tracing assignments in user-readable function traces (>= PHP 7.2, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.2; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for tracing assignments in user-readable function traces (< PHP 7.2 || !opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
if ( ! ( runtime_version('7.2', '<') || !opcache_active() ) ) {
echo "skip < PHP 7.2 || !opcache loaded needed\n";
}
@@ -2,7 +2,7 @@
Test for tracing property assignments in user-readable function traces (>= PHP 7.2, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.2; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for tracing property assignments in user-readable function traces (< PHP 7.2 || !opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
if ( ! ( runtime_version('7.2', '<') || !opcache_active() ) ) {
echo "skip < PHP 7.2 || !opcache loaded needed\n";
}
@@ -2,7 +2,7 @@
Test for complex parameters to a function (< PHP 7.1)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP < 7.1');
?>
--INI--
@@ -2,7 +2,7 @@
Test for complex parameters to a function (>= PHP 7.1)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.1');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #173: Xdebug segfaults using SPL ArrayIterator
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('ext SPL');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #176: Segfault using SplTempFileObject
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('ext SPL');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #212: coverage coverage inaccurate (1) (<= PHP 7.0.12)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP <= 7.0.12');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #212: coverage coverage inaccurate (1) (>= PHP 7.1)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.1');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #212: coverage coverage inaccurate (2) (<= PHP 7.0.12)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP <= 7.0.12');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #212: coverage coverage inaccurate (2) (> PHP 7.0.12)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP > 7.0.12');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #212: coverage coverage inaccurate (3) (<= PHP 7.0.12)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP <= 7.0.12');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #212: coverage coverage inaccurate (3) (> PHP 7.0.12, < PHP 7.4)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP > 7.0.12,< 7.4');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #212: coverage coverage inaccurate (3) (>= PHP 7.4)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.4');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #213: Dead code analysis doesn't take catches for throws into account (> PHP 7.0.12, < PHP 7.1, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP > 7.0.12,< 7.1; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #213: Dead code analysis doesn't take catches for throws into account (<= PHP 7.0.12)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP <= 7.0.12');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #213: Dead code analysis doesn't take catches for throws into account (>= PHP 7.1, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.1; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #213: Dead code analysis doesn't take catches for throws into account (> PHP 7.0.12, !opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP > 7.0.12; !opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #314: PHP CLI Error logging thwarted when Xdebug loaded (Windows)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('win');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #314: PHP CLI Error logging thwarted when Xdebug loaded
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('!win; unparallel');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #334: Code Coverage Regressions (> PHP 7.0.12, < PHP 7.1, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP > 7.0.12,< 7.1; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #334: Code Coverage Regressions (<= PHP 7.0.12)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP <= 7.0.12');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #334: Code Coverage Regressions (>= PHP 7.1, opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.1; opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #334: Code Coverage Regressions (> PHP 7.0.12, !opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP > 7.0.12; !opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #419: make use of P_tmpdir if defined instead of hardcoded '/tmp'
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('sunos');
?>
--FILE--
@@ -2,7 +2,7 @@
Test for bug #419: make use of P_tmpdir if defined instead of hardcoded '/tmp'
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('linux');
?>
--FILE--
@@ -2,7 +2,7 @@
Test for bug #421: xdebug sends back invalid characters in xml sometimes
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('dbgp; class SimpleXMLIterator');
?>
--FILE--
@@ -2,7 +2,7 @@
Test for bug #421: xdebug sends back invalid characters in xml sometimes
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('dbgp; class SimpleXMLIterator');
?>
--FILE--
@@ -2,7 +2,7 @@
Test for bug #470: catch blocks marked as dead code unless executed (<= PHP 7.0.12)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP <= 7.0.12');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #470: catch blocks marked as dead code unless executed (> PHP 7.0.12, < PHP 7.4)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP > 7.0.12,< 7.4');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #470: catch blocks marked as dead code unless executed (>= PHP 7.4)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.4');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #472: Dead Code Analysis for code coverage messed up after goto (<= PHP 7.0.12)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP <= 7.0.12');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #472: Dead Code Analysis for code coverage messed up after goto (> PHP 7.0.12, < PHP 7.4, !opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP > 7.0.12,< 7.4; !opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #472: Dead Code Analysis for code coverage messed up after goto (>= PHP 7.4, !opcache)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP >= 7.4; !opcache');
?>
--INI--
@@ -2,7 +2,7 @@
Test for bug #475: Property names with null chars are not sent fully to the client
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('dbgp');
?>
--FILE--
@@ -2,7 +2,7 @@
Test for bug #494: Private attributes of parent class unavailable when inheriting
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('dbgp');
?>
--FILE--
@@ -2,7 +2,7 @@
Test for bug #515: Dead Code Analysis for code coverage messed up with ticks (<= PHP 7.0.12)
--SKIPIF--
<?php
require 'tests/utils.inc';
require __DIR__ . '/utils.inc';
check_reqs('PHP <= 7.0.12');
?>
--INI--

0 comments on commit c9fcd86

Please sign in to comment.
You can’t perform that action at this time.