com php-src: Skip test case on non Windows platforms: ext/ffi/tests/bug78270_2.phpt

From: Date: Tue, 29 Oct 2019 08:53:44 +0000
Subject: com php-src: Skip test case on non Windows platforms: ext/ffi/tests/bug78270_2.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109106@lists.php.net to get a copy of this message
Commit: c5e1a0454f0bccf7f04f41390f66a2771c9b79e8 Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 29 Oct 2019 09:53:44 +0100 Parents: bedbecf56d94353a2bcebc835d14896fd95ce6d7 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c5e1a0454f0bccf7f04f41390f66a2771c9b79e8 Log: Skip test case on non Windows platforms Changed paths: M ext/ffi/tests/bug78270_2.phpt Diff: diff --git a/ext/ffi/tests/bug78270_2.phpt b/ext/ffi/tests/bug78270_2.phpt index 965830caf3c..60ba27853e3 100644 --- a/ext/ffi/tests/bug78270_2.phpt +++ b/ext/ffi/tests/bug78270_2.phpt @@ -3,6 +3,8 @@ FR #78270 (Usage of __vectorcall convention with FFI) --SKIPIF-- <?php require_once('skipif.inc'); +if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only"); + $dll = 'php7' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ? '_debug' : '') . '.dll'; try { FFI::cdef(<<<EOC

« previous php.cvs (#109106) next »