diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-10-29 10:05:31 +0100 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-10-29 10:05:31 +0100 |
| commit | 22523958f4bf36b396b39e7ae32d20083678cf04 (patch) | |
| tree | 8e7b1f6087045a38c751ebc6886ae4796f72234e | |
| parent | 365a45210bf833c54c5f43e8987fcb723ef9c019 (diff) | |
| download | php-git-22523958f4bf36b396b39e7ae32d20083678cf04.tar.gz | |
Skip test case on non Windows platforms
| -rw-r--r-- | ext/ffi/tests/bug78270_2.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ffi/tests/bug78270_2.phpt b/ext/ffi/tests/bug78270_2.phpt index 965830caf3..60ba27853e 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 |
