We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18fc82e commit eb2adacCopy full SHA for eb2adac
extension/BuildPhpExtension/private/Invoke-Tests.ps1
@@ -64,7 +64,6 @@ Function Invoke-Tests {
64
$tempDirectory = Get-BuildDirectory $currentDirectory
65
$env:TEMP=$tempDirectory
66
$env:TMP=$tempDirectory
67
- $env:OPCACHE = $opcacheMode
68
$test_runner_args += '--temp-source ' + $tempDirectory;
69
$test_runner_args += '--temp-target ' + $tempDirectory;
70
$opcache_args = @()
@@ -73,6 +72,10 @@ Function Invoke-Tests {
73
72
$opcache_args += "-d opcache.enable=1"
74
$opcache_args += "-d opcache.enable_cli=1"
75
$opcache_args += "-d opcache.optimization_level=1"
+ } else {
76
+ $opcache_args += "-d opcache.enable=0"
77
+ $opcache_args += "-d opcache.enable_cli=0"
78
+ $opcache_args += "-d opcache.optimization_level=0"
79
}
80
$phpExpression = @(
81
'php',
0 commit comments