зеркало из https://github.com/microsoft/msquic.git
Fail interop tests in CI if interop crashes (#1590)
This commit is contained in:
Родитель
aafbeb72a3
Коммит
7c3fb1c3d5
|
@ -42,7 +42,7 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
pwsh: true
|
pwsh: true
|
||||||
filePath: scripts/interop.ps1
|
filePath: scripts/interop.ps1
|
||||||
arguments: -GenerateXmlResults -Config ${{ parameters.config }} -Arch ${{ parameters.arch }} -Tls ${{ parameters.tls }}
|
arguments: -AZP -GenerateXmlResults -Config ${{ parameters.config }} -Arch ${{ parameters.arch }} -Tls ${{ parameters.tls }}
|
||||||
|
|
||||||
- template: ./upload-test-artifacts.yml
|
- template: ./upload-test-artifacts.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
|
|
@ -98,7 +98,10 @@ param (
|
||||||
[switch]$Serial = $false,
|
[switch]$Serial = $false,
|
||||||
|
|
||||||
[Parameter(Mandatory = $false)]
|
[Parameter(Mandatory = $false)]
|
||||||
[string]$UrlPath = ""
|
[string]$UrlPath = "",
|
||||||
|
|
||||||
|
[Parameter(Mandatory = $false)]
|
||||||
|
[switch]$AZP = $false
|
||||||
)
|
)
|
||||||
|
|
||||||
Set-StrictMode -Version 'Latest'
|
Set-StrictMode -Version 'Latest'
|
||||||
|
@ -153,6 +156,9 @@ if ($InitialBreak) {
|
||||||
if ("None" -ne $LogProfile) {
|
if ("None" -ne $LogProfile) {
|
||||||
$Arguments += " -LogProfile $($LogProfile)"
|
$Arguments += " -LogProfile $($LogProfile)"
|
||||||
}
|
}
|
||||||
|
if ($AZP) {
|
||||||
|
$Arguments += " -AZP"
|
||||||
|
}
|
||||||
|
|
||||||
$ExtraArgs = ""
|
$ExtraArgs = ""
|
||||||
if ($Target -ne "") {
|
if ($Target -ne "") {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче