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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user