File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
extension/BuildPhpExtension/private Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ Function Invoke-Tests {
6464 $tempDirectory = Get-BuildDirectory $currentDirectory
6565 $env: TEMP = $tempDirectory
6666 $env: TMP = $tempDirectory
67- $env: OPCACHE = $opcacheMode
6867 $test_runner_args += ' --temp-source ' + $tempDirectory ;
6968 $test_runner_args += ' --temp-target ' + $tempDirectory ;
7069 $opcache_args = @ ()
@@ -73,6 +72,10 @@ Function Invoke-Tests {
7372 $opcache_args += " -d opcache.enable=1"
7473 $opcache_args += " -d opcache.enable_cli=1"
7574 $opcache_args += " -d opcache.optimization_level=1"
75+ } else {
76+ $opcache_args += " -d opcache.enable=0"
77+ $opcache_args += " -d opcache.enable_cli=0"
78+ $opcache_args += " -d opcache.optimization_level=0"
7679 }
7780 $phpExpression = @ (
7881 ' php' ,
You can’t perform that action at this time.
0 commit comments