]> granicus.if.org Git - php/commitdiff
Introduce SKIP_IO_CAPTURE_TESTS group
authorAnatol Belski <ab@php.net>
Sat, 5 Nov 2016 23:04:53 +0000 (00:04 +0100)
committerAnatol Belski <ab@php.net>
Sat, 5 Nov 2016 23:04:53 +0000 (00:04 +0100)
to workaround false positives with some CI systems

18 files changed:
tests/output/sapi_windows_vt100_support_winko_err.phpt
tests/output/sapi_windows_vt100_support_winko_in-err.phpt
tests/output/sapi_windows_vt100_support_winko_in-out-err.phpt
tests/output/sapi_windows_vt100_support_winko_in-out.phpt
tests/output/sapi_windows_vt100_support_winko_out-err.phpt
tests/output/sapi_windows_vt100_support_winko_out.phpt
tests/output/sapi_windows_vt100_support_winok_err.phpt
tests/output/sapi_windows_vt100_support_winok_in-err.phpt
tests/output/sapi_windows_vt100_support_winok_in-out-err.phpt
tests/output/sapi_windows_vt100_support_winok_in-out.phpt
tests/output/sapi_windows_vt100_support_winok_out-err.phpt
tests/output/sapi_windows_vt100_support_winok_out.phpt
tests/output/stream_isatty_err.phpt
tests/output/stream_isatty_in-err.phpt
tests/output/stream_isatty_in-out-err.phpt
tests/output/stream_isatty_in-out.phpt
tests/output/stream_isatty_out-err.phpt
tests/output/stream_isatty_out.phpt

index c722e549be2fefbee86b58ec8802b0d7d893014f..4357c741afaf91ee890bd645d0cdb2b4dec8402b 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on older Windows versions with redirected STDERR
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 0e8097eef6948a0ea91305cd270103ee594ab3a9..fd508eedaea46fba3798b0ac5d495fb6da242f3b 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on older Windows versions with redirected STDIN/STDERR
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 496f467df3e7046d05d40daef20dd5648e152920..4af527f3d2dd317251b1421ea087e666553175c0 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on older Windows versions with redirected STDIN/STDOUT/STDERR
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index da9a2378fec79dc381f2e88031d870ecf40f9670..18b64acaa66e1ab16406b28f6ba9b8b883474d2f 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on older Windows versions with redirected STDIN/STDOUT
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 94604bad0ef6d093fb283e59c121f543958c16db..4fdf2dd5f9a3db8b4364a9d4f17b1eac92c77ca2 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on older Windows versions with redirected STDOUT/STDERR
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 563a3282cc58903c15bdd610dfb8f8fb5d74730c..500cabcf9d71acfe70b62eee219f918f2d937785 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on older Windows versions with redirected STDOUT
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 58b3f6b35d9bd3b2afe80053f6419bba71c4f701..31138916619310950f5f6d383e0545bb245465f0 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on newer Windows versions with redirected STDERR
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 4eda2c45340b4ca31a837cf51c65563e1227338e..4ca743fb46f9971ed2c6be6dc29ce3c0fdcefe49 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on newer Windows versions with redirected STDIN/STDERR
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 62ed43c6a86364793d200c895762915c1f9a7222..a8d938014074feed865c7de548cb4d7fc2e4d9ff 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on newer Windows versions with redirected STDIN/STDOUT/STDERR
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index d146c5dc5cefc87ddc24149ab7cc458169edd316..17f90e5f55039c4c136675e61bb068be77db18b0 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on newer Windows versions with redirected STDIN/STDOUT
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 223b0ddf3bf36a005692d322d0d92da62a0007ac..03e7d2c5ec52f427dd8df5484e77c5acc2ccb576 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on newer Windows versions with redirected STDOUT/STDERR
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 69cb508701fdfa55deecea26a15faad28cceb642..784a12d02cf0d8e0899036cae1315116a85a5d3d 100644 (file)
@@ -2,6 +2,9 @@
 Test sapi_windows_vt100_support on newer Windows versions with redirected STDOUT
 --SKIPIF--
 <?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
 if (stripos(PHP_OS, 'WIN') !== 0) {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
index 65a45642cfe61301ada65f46cf9ce92772583f92..b071862c93a99387749afd2236130a753aa34f4c 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test stream_isatty with redirected STDERR
+--SKIPIF--
+<?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
+?>
 --CAPTURE_STDIO--
 STDERR
 --FILE--
index b93ea03640a3c54a10e1952fa7c39143f2fde9f1..fac84efb57e3e5a47a035cc506aa86a85ba4412f 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test stream_isatty with redirected STDIN/STDERR
+--SKIPIF--
+<?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
+?>
 --CAPTURE_STDIO--
 STDIN STDERR
 --FILE--
index 733d024b7e7138f2fa01ef2e21846715e6b58570..56c49f70a8e86774a1c8815f59da6174ec5bc52e 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test stream_isatty with redirected STDIN/STDOUT/STDERR
+--SKIPIF--
+<?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
+?>
 --CAPTURE_STDIO--
 STDIN STDOUT STDERR
 --FILE--
index 755ee82d18832eb376822f32e602e8aae68c69de..70f2c030f4f6e885ff7d1cba7f2f8711016fe254 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test stream_isatty with redirected STDIN/STDOUT
+--SKIPIF--
+<?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
+?>
 --CAPTURE_STDIO--
 STDIN STDOUT
 --FILE--
index 97d804601b5a7fcdaeb88b85539979cb1fbcdc16..4bd06d124d7abfc11689803e6edf40bd61775e3d 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test stream_isatty with redirected STDOUT/STDERR
+--SKIPIF--
+<?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
+?>
 --CAPTURE_STDIO--
 STDOUT STDERR
 --FILE--
index ed592f12e13df8593ef1a6a34e886103d1711b42..14e1fb8607b92e1754982c09df4e9a80ca1fd0ab 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test stream_isatty with redirected STDOUT
+--SKIPIF--
+<?php
+if (getenv("SKIP_IO_CAPTURE_TESTS")) {
+       die("skip I/O capture test");
+}
+?>
 --CAPTURE_STDIO--
 STDOUT
 --FILE--