Skip to content

Commit e282578

Browse files
committed
probe ARM test failure
1 parent 6df1562 commit e282578

File tree

6 files changed

+118
-0
lines changed

6 files changed

+118
-0
lines changed
File renamed without changes.

ext/opcache/tests/gh16979_100.phpt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
--TEST--
2+
GH-16979: CircleCI ARM: opcache_is_script_cached always true
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.jit=disable
7+
opcache.jit_buffer_size=0
8+
--EXTENSIONS--
9+
opcache
10+
--CONFLICTS--
11+
opcache_cached_arm
12+
--FILE--
13+
<?php
14+
15+
$uncached_file = __DIR__ . '/gh16979_999.inc';
16+
17+
var_dump(
18+
opcache_is_script_cached($uncached_file)
19+
);
20+
21+
var_dump(
22+
opcache_is_script_cached_in_file_cache($uncached_file)
23+
);
24+
25+
?>
26+
--EXPECT--
27+
bool(false)
28+
bool(false)

ext/opcache/tests/gh16979_101.phpt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
--TEST--
2+
GH-16979: CircleCI ARM: opcache_is_script_cached always true: file cache enabled
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.jit=disable
7+
opcache.jit_buffer_size=0
8+
opcache.file_cache="{TMP}"
9+
--EXTENSIONS--
10+
opcache
11+
--CONFLICTS--
12+
opcache_cached_arm
13+
--FILE--
14+
<?php
15+
16+
$uncached_file = __DIR__ . '/gh16979_999.inc';
17+
18+
var_dump(
19+
opcache_is_script_cached($uncached_file)
20+
);
21+
22+
var_dump(
23+
opcache_is_script_cached_in_file_cache($uncached_file)
24+
);
25+
26+
?>
27+
--EXPECT--
28+
bool(false)
29+
bool(false)

ext/opcache/tests/gh16979_102.phpt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
--TEST--
2+
GH-16979: CircleCI ARM: opcache_is_script_cached always true: file cache read only
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.jit=disable
7+
opcache.jit_buffer_size=0
8+
opcache.file_cache="{TMP}"
9+
opcache.file_cache_read_only=1
10+
--EXTENSIONS--
11+
opcache
12+
--CONFLICTS--
13+
opcache_cached_arm
14+
--FILE--
15+
<?php
16+
17+
$uncached_file = __DIR__ . '/gh16979_999.inc';
18+
19+
var_dump(
20+
opcache_is_script_cached($uncached_file)
21+
);
22+
23+
var_dump(
24+
opcache_is_script_cached_in_file_cache($uncached_file)
25+
);
26+
27+
?>
28+
--EXPECT--
29+
bool(false)
30+
bool(false)

ext/opcache/tests/gh16979_103.phpt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
--TEST--
2+
GH-16979: CircleCI ARM: opcache_is_script_cached always true: non existant file
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.jit=disable
7+
opcache.jit_buffer_size=0
8+
--EXTENSIONS--
9+
opcache
10+
--CONFLICTS--
11+
opcache_cached_arm
12+
--FILE--
13+
<?php
14+
15+
$uncached_file = __DIR__ . '/gh16979_900.inc';
16+
17+
var_dump(
18+
opcache_is_script_cached($uncached_file)
19+
);
20+
21+
var_dump(
22+
opcache_is_script_cached_in_file_cache($uncached_file)
23+
);
24+
25+
?>
26+
--EXPECT--
27+
bool(false)
28+
bool(false)

ext/opcache/tests/gh16979_999.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
echo 2+4 . "\n";

0 commit comments

Comments
 (0)