com php-src: Fix test cases for master: ext/ffi/tests/bug78 270_1.phpt ext/ffi/tests/bug78270_2 .phpt
| From: | Christoph Michael Becker | Date: | Tue, 29 Oct 2019 08:35:16 +0000 |
| Subject: | com php-src: Fix test cases for master: ext/ffi/tests/bug78 270_1.phpt ext/ffi/tests/bug78270_2 .phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-109100@lists.php.net to get a copy of this message | ||
Commit: 3dbb90b07ead11c28598ad792963c7c8e49da1f5
Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 29 Oct 2019 09:34:15 +0100
Parents: 6c078d8bd57536356eea193f1fdb42406e06fe8d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3dbb90b07ead11c28598ad792963c7c8e49da1f5
Log:
Fix test cases for master
Changed paths:
M ext/ffi/tests/bug78270_1.phpt
M ext/ffi/tests/bug78270_2.phpt
Diff:
diff --git a/ext/ffi/tests/bug78270_1.phpt b/ext/ffi/tests/bug78270_1.phpt
index 5d5c88b24ef..7ad9776c7f6 100644
--- a/ext/ffi/tests/bug78270_1.phpt
+++ b/ext/ffi/tests/bug78270_1.phpt
@@ -5,7 +5,7 @@ FR #78270 (Usage of __vectorcall convention with FFI)
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';
+$dll = 'php8' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ?
'_debug' : '') . '.dll';
try {
FFI::cdef(<<<EOC
__vectorcall int zend_atoi(const char *str, size_t str_len);
@@ -16,7 +16,7 @@ try {
?>
--FILE--
<?php
-$dll = 'php7' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ?
'_debug' : '') . '.dll';
+$dll = 'php8' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ?
'_debug' : '') . '.dll';
$ffi = FFI::cdef(<<<EOC
__vectorcall int zend_atoi(const char *str, size_t str_len);
EOC, $dll);
diff --git a/ext/ffi/tests/bug78270_2.phpt b/ext/ffi/tests/bug78270_2.phpt
index 965830caf3c..6b577fa2878 100644
--- a/ext/ffi/tests/bug78270_2.phpt
+++ b/ext/ffi/tests/bug78270_2.phpt
@@ -3,7 +3,7 @@ FR #78270 (Usage of __vectorcall convention with FFI)
--SKIPIF--
<?php
require_once('skipif.inc');
-$dll = 'php7' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ?
'_debug' : '') . '.dll';
+$dll = 'php8' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ?
'_debug' : '') . '.dll';
try {
FFI::cdef(<<<EOC
__vectorcall int zend_atoi(const char *str, size_t str_len);