mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Skip .NET tests if mscoree is not available (#14281)
This commit is contained in:
@@ -5,6 +5,7 @@ com_dotnet
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
|
||||
if (!class_exists("dotnet")) die("skip mscoree not available");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
Bug #77177 (Serializing or unserializing COM objects crashes)
|
||||
--EXTENSIONS--
|
||||
com_dotnet
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!class_exists("dotnet")) die("skip mscoree not available");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$com = new COM("WScript.Shell");
|
||||
|
||||
Reference in New Issue
Block a user