We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5106db2 commit 6b8fa15Copy full SHA for 6b8fa15
extension/BuildPhpExtension/private/Invoke-Tests.ps1
@@ -24,9 +24,13 @@ Function Invoke-Tests {
24
if ((Select-String -Path 'config.w32' -Pattern 'ZEND_EXTENSION\(' -Quiet) -eq $true) {
25
$type='zend_extension'
26
}
27
+ $extensionPath = "$currentDirectory\$($Config.build_directory)\php_$($Config.name).dll"
28
+ if(-not(Test-Path $extensionPath)) {
29
+ throw "Extension was not built successfully. Cannot run tests."
30
+ }
31
$php_args = @(
32
"-n",
- "-d $type=$currentDirectory\$($Config.build_directory)\php_$($Config.name).dll"
33
+ "-d $type=$extensionPath"
34
)
35
$env:TEST_PHP_ARGS = $php_args -join ' '
36
if ($null -eq $env:TEST_RUNNER) {
0 commit comments