Skip to content

Commit 4b46bbc

Browse files
committed
WIP III
1 parent 3d3d29e commit 4b46bbc

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/scripts/windows/build_task.bat

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ if %errorlevel% neq 0 exit /b 3
6060
if "%THREAD_SAFE%" equ "" set ADD_CONF=%ADD_CONF% --disable-zts
6161
if "%INTRINSICS%" neq "" set ADD_CONF=%ADD_CONF% --enable-native-intrinsics=%INTRINSICS%
6262

63-
set EXT_EXCLUDE_FROM_TEST=snmp,oci8_12c,pdo_oci,pdo_firebird,ldap,imap,ftp
64-
if "%OPCACHE%" equ "" set EXT_EXCLUDE_FROM_TEST=%EXT_EXCLUDE_FROM_TEST%,opcache
65-
6663
if "%PLATFORM%" == "x86" (
6764
set CFLAGS=/W1
6865
) else (
@@ -77,7 +74,7 @@ cmd /c configure.bat ^
7774
--enable-object-out-dir=%PHP_BUILD_OBJ_DIR% ^
7875
--with-php-build=%DEPS_DIR% ^
7976
%ADD_CONF% ^
80-
--with-test-ini-ext-exclude=%EXT_EXCLUDE_FROM_TEST%
77+
--with-test-ini-ext-exclude=snmp,oci8_12c,pdo_oci,pdo_firebird,ldap,imap,ftp,opcache
8178
if %errorlevel% neq 0 exit /b 3
8279

8380
nmake /NOLOGO /S

.github/scripts/windows/test_task.bat

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ if not exist "%DEPS_DIR%" (
2323
)
2424

2525
if /i "%APPVEYOR%" equ "True" (
26-
rem setup MySQL related exts
2726
set MYSQL_PWD=Password12!
2827
set MYSQL_TEST_PASSWD=%MYSQL_PWD%
2928
set MYSQL_TEST_USER=root
@@ -37,7 +36,6 @@ if /i "%APPVEYOR%" equ "True" (
3736
"C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" --user=%MYSQL_TEST_USER% -e "CREATE DATABASE IF NOT EXISTS test"
3837
if %errorlevel% neq 0 exit /b 3
3938

40-
rem setup PostgreSQL related exts
4139
set PGUSER=postgres
4240
set PGPASSWORD=Password12!
4341
rem set PGSQL_TEST_CONNSTR=host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!
@@ -46,7 +44,6 @@ if /i "%APPVEYOR%" equ "True" (
4644
"C:\Program Files\PostgreSQL\10\bin\createdb.exe" test
4745
if %errorlevel% neq 0 exit /b 3
4846

49-
rem setup ODBC related exts
5047
set ODBC_TEST_USER=sa
5148
set ODBC_TEST_PASS=Password12!
5249
set ODBC_TEST_DSN=Driver={ODBC Driver 13 for SQL Server};Server=^(local^)\SQL2017;Database=master;uid=%ODBC_TEST_USER%;pwd=%ODBC_TEST_PASS%
@@ -72,9 +69,6 @@ rem set OPENSSL_CONF=%OPENSSLDIR%\openssl.cnf
7269
set OPENSSL_CONF=
7370
rem set SSLEAY_CONF=
7471

75-
rem prepare for Opcache
76-
if "%OPCACHE%" neq "" set OPCACHE_OPTS=-d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M
77-
7872
rem prepare for enchant
7973
mkdir C:\usr\local\lib\enchant-2
8074
if %errorlevel% neq 0 exit /b 3
@@ -108,5 +102,6 @@ mkdir c:\tests_tmp
108102

109103
set TEST_PHP_JUNIT=c:\junit.out.xml
110104

105+
set OPCACHE_OPTS=-d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M
111106
nmake test TESTS="%OPCACHE_OPTS% -q --offline -g FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP --color --show-diff --show-slow 1000 --set-timeout 120 --temp-source c:\tests_tmp --temp-target c:\tests_tmp -j2"
112107
if %errorlevel% neq 0 exit /b %errorlevel%

0 commit comments

Comments
 (0)