Skip to content

Commit 98288a2

Browse files
authored
Skip .NET tests if mscoree is not available (#14281)
1 parent 0a8fbef commit 98288a2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

ext/com_dotnet/tests/bug73679.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ com_dotnet
55
--SKIPIF--
66
<?php
77
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
8+
if (!class_exists("dotnet")) die("skip mscoree not available");
89
?>
910
--FILE--
1011
<?php

ext/com_dotnet/tests/bug77177.phpt

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
Bug #77177 (Serializing or unserializing COM objects crashes)
33
--EXTENSIONS--
44
com_dotnet
5+
--SKIPIF--
6+
<?php
7+
if (!class_exists("dotnet")) die("skip mscoree not available");
8+
?>
59
--FILE--
610
<?php
711
$com = new COM("WScript.Shell");

0 commit comments

Comments
 (0)