1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

XLEAK bug78270_2.phpt (GH-16352)

This test leaks memory as some other ext/ffi tests, so we treat it in
the same way.

We also fix a typo in another test.
This commit is contained in:
Christoph M. Becker
2024-10-11 10:27:37 +02:00
committed by GitHub
parent 0323fffd4b
commit 9345582471
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ zend_test
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
if (PHP_DEBUG || getenv('SKIP_ASAN')) die("xfail: FFI cleanup after parser error is not implemented");
require_once('utils.inc');
try {

View File

@@ -4,7 +4,7 @@ Bug #79576 ("TYPE *" shows unhelpful message when type is not defined)
ffi
--SKIPIF--
<?php
if (PHP_DEBUG || getenv('SKIP_ASAN')) echo "xleak FFI cleanup after parser error is nor implemented";
if (PHP_DEBUG || getenv('SKIP_ASAN')) echo "xleak FFI cleanup after parser error is not implemented";
?>
--FILE--
<?php