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 {
64
64
$tempDirectory = Get-BuildDirectory $currentDirectory
65
65
$env: TEMP = $tempDirectory
66
66
$env: TMP = $tempDirectory
67
- $env: OPCACHE = $opcacheMode
68
67
$test_runner_args += ' --temp-source ' + $tempDirectory ;
69
68
$test_runner_args += ' --temp-target ' + $tempDirectory ;
70
69
$opcache_args = @ ()
@@ -73,6 +72,10 @@ Function Invoke-Tests {
73
72
$opcache_args += " -d opcache.enable=1"
74
73
$opcache_args += " -d opcache.enable_cli=1"
75
74
$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"
76
79
}
77
80
$phpExpression = @ (
78
81
' php' ,
You can’t perform that action at this time.
0 commit comments