Skip to content

Commit 09ecf7d

Browse files
committed
Fix skipif for windows
1 parent 848a8f2 commit 09ecf7d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ext/opcache/tests/gh15021.phpt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
--TEST--
22
GH-15021: Optimizer only relies on preloaded top-level symbols
3-
--EXTENSIONS--
4-
opcache
53
--INI--
64
opcache.enable=1
75
opcache.enable_cli=1
86
opcache.preload={PWD}/gh15021_preload.inc
7+
--EXTENSIONS--
8+
opcache
9+
--SKIPIF--
10+
<?php
11+
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
12+
?>
913
--FILE--
1014
<?php
1115
putenv('RUNTIME=1');

0 commit comments

Comments
 (0)