1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00

Skip test case on non Windows platforms

This commit is contained in:
Christoph M. Becker
2019-10-29 10:05:31 +01:00
parent 365a45210b
commit 22523958f4

View File

@@ -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