This commit is contained in:
Nick Banks 2020-06-09 12:12:59 -07:00 коммит произвёл GitHub
Родитель 3119fcf12a
Коммит e9e81edd1a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 12 добавлений и 3 удалений

Просмотреть файл

@ -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"
}