Skip to content

Commit 693ef28

Browse files
committed
Fix SKIPIF sections
1 parent cfddbd1 commit 693ef28

15 files changed

+15
-15
lines changed

ext/ffi/tests/jit/001_var_read_scalar.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

ext/ffi/tests/jit/002_var_read_array.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

ext/ffi/tests/jit/003_var_read_struct.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

ext/ffi/tests/jit/004_var_read_struct_ptr.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

ext/ffi/tests/jit/005_var_read_func.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

ext/ffi/tests/jit/006_var_write_scalar.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

ext/ffi/tests/jit/007_var_write_scalar_cdata.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

ext/ffi/tests/jit/009_var_write_struct_ptr_cdata.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

ext/ffi/tests/jit/010_var_modify_scalar.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

ext/ffi/tests/jit/011_var_modify_struct_ptr.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ opcache.jit_hot_side_exit=0
1313
--SKIPIF--
1414
<?php
1515
try {
16-
$libc = FFI::cdef("extern intptr_t stdout;");
16+
$libc = FFI::cdef("extern intptr_t stdout;", "libc.so.6");
1717
} catch (Throwable $_) {
1818
die('skip libc.so.6 not available');
1919
}

0 commit comments

Comments
 (0)