Skip to content

Commit 9a3ce77

Browse files
committed
complete test suite
1 parent 2ff78e5 commit 9a3ce77

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/globals/test-extensions.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
// temporary!
3737
if ($zig) {
3838
putenv('SPC_LIBC=musl');
39-
// putenv('SPC_LIBC_VERSION=2.17');
39+
putenv('SPC_LIBC_VERSION=2.17');
4040
putenv('CC=zig-cc');
4141
putenv('CXX=zig-c++');
4242
}
@@ -57,13 +57,13 @@
5757

5858
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
5959
$extensions = match (PHP_OS_FAMILY) {
60-
'Linux', 'Darwin' => 'curl,iconv',
60+
'Linux', 'Darwin' => 'apcu,ast,bcmath,calendar,ctype,curl,dba,dom,exif,fileinfo,filter,iconv,libxml,mbregex,mbstring,opcache,openssl,pcntl,phar,posix,readline,session,simplexml,sockets,sodium,tokenizer,xml,xmlreader,xmlwriter,zip,zlib',
6161
'Windows' => 'intl',
6262
};
6363

6464
// If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`).
6565
$shared_extensions = match (PHP_OS_FAMILY) {
66-
'Linux' => '',
66+
'Linux' => ' amqp,brotli,bz2,dio,ds,ev,event,ffi,ftp,gd,gettext,gmp,gmssl,igbinary,imagick,inotify,intl,ldap,lz4,memcache,memcached,mongodb,msgpack,mysqli,mysqlnd,odbc,opentelemetry,parallel,pdo,pdo_mysql,pdo_odbc,pdo_pgsql,pdo_sqlite,pdo_sqlsrv,pgsql,protobuf,rar,redis,rdkafka,shmop,spx,sqlite3,sqlsrv,ssh2,swoole,sysvmsg,sysvsem,sysvshm,tidy,uuid,uv,xdebug,xhprof,xlswriter,xsl,xz,yac,yaml,zstd',
6767
'Darwin' => '',
6868
'Windows' => '',
6969
};
@@ -117,7 +117,8 @@ function _getCombination(string $type = 'common'): string
117117

118118
if (PHP_OS_FAMILY === 'Windows') {
119119
$final_extensions_cmd = '"' . $final_extensions . '"';
120-
} else {
120+
}
121+
else {
121122
$final_extensions_cmd = $final_extensions;
122123
}
123124

@@ -175,7 +176,8 @@ function quote2(string $param): string
175176
$shared_cmd = '';
176177
break;
177178
}
178-
} else {
179+
}
180+
else {
179181
$shared_cmd = '';
180182
}
181183

0 commit comments

Comments
 (0)