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

From: Date: Tue, 29 Oct 2019 09:05:31 +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-109108@lists.php.net to get a copy of this message
Commit: 22523958f4bf36b396b39e7ae32d20083678cf04 Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 29 Oct 2019 10:05:31 +0100 Parents: 365a45210bf833c54c5f43e8987fcb723ef9c019 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=22523958f4bf36b396b39e7ae32d20083678cf04 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 (#109108) next »