зеркало из https://github.com/microsoft/msquic.git
Minor Script Improvements (#484)
This commit is contained in:
Родитель
3119fcf12a
Коммит
e9e81edd1a
|
@ -98,7 +98,7 @@ $FailXmlText = @"
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<testsuites tests="1" failures="1" disabled="0" errors="0" time="0" name="Executable">
|
||||
<testsuite name="ExeName" tests="1" failures="1" disabled="0" errors="0" timestamp="date" time="0" >
|
||||
<testcase name="Run" status="run" result="completed" time="0" timestamp="date" classname="ExeName">
|
||||
<testcase name="ExeName" status="run" result="completed" time="0" timestamp="date" classname="ExeName">
|
||||
<failure message="Application Crashed" type=""><![CDATA[Application Crashed]]></failure>
|
||||
</testcase>
|
||||
</testsuite>
|
||||
|
@ -110,7 +110,7 @@ $SuccessXmlText = @"
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<testsuites tests="1" failures="1" disabled="0" errors="0" time="0" name="Executable">
|
||||
<testsuite name="ExeName" tests="1" failures="1" disabled="0" errors="0" timestamp="date" time="0" >
|
||||
<testcase name="Run" status="run" result="completed" time="0" timestamp="date" classname="ExeName" />
|
||||
<testcase name="ExeName" status="run" result="completed" time="0" timestamp="date" classname="ExeName" />
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
"@
|
||||
|
|
|
@ -39,6 +39,9 @@ This script runs quicinterop locally.
|
|||
.PARAMETER Test
|
||||
A particular test case to run.
|
||||
|
||||
.PARAMETER Version
|
||||
The initial version to use for the connection.
|
||||
|
||||
.PARAMETER Serial
|
||||
Runs the test cases serially.
|
||||
|
||||
|
@ -85,6 +88,9 @@ param (
|
|||
[Parameter(Mandatory = $false)]
|
||||
[string]$Test = "",
|
||||
|
||||
[Parameter(Mandatory = $false)]
|
||||
[string]$Version = "",
|
||||
|
||||
[Parameter(Mandatory = $false)]
|
||||
[switch]$Serial = $false
|
||||
)
|
||||
|
@ -151,6 +157,9 @@ if ($Port -ne "") {
|
|||
if ($Test -ne "") {
|
||||
$ExtraArgs += " -test:$Test"
|
||||
}
|
||||
if ($Version -ne "") {
|
||||
$ExtraArgs += " -version:$Version"
|
||||
}
|
||||
if ($Serial) {
|
||||
$ExtraArgs += " -serial"
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче