Skip to content

Commit 2252395

Browse files
committed
Skip test case on non Windows platforms
1 parent 365a452 commit 2252395

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/ffi/tests/bug78270_2.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ FR #78270 (Usage of __vectorcall convention with FFI)
33
--SKIPIF--
44
<?php
55
require_once('skipif.inc');
6+
if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
7+
68
$dll = 'php7' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ? '_debug' : '') . '.dll';
79
try {
810
FFI::cdef(<<<EOC

0 commit comments

Comments
 (0)