未验证 提交 ee8c306f 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #26796 from jaredpar/fix-es

Disable procdump on Spanish runs
...@@ -29,6 +29,7 @@ param ( ...@@ -29,6 +29,7 @@ param (
[switch]$packAll = $false, [switch]$packAll = $false,
[switch]$binaryLog = $false, [switch]$binaryLog = $false,
[switch]$deployExtensions = $false, [switch]$deployExtensions = $false,
[switch]$procdump = $false,
[string]$signType = "", [string]$signType = "",
[switch]$skipBuildExtras = $false, [switch]$skipBuildExtras = $false,
[switch]$skipAnalyzers = $false, [switch]$skipAnalyzers = $false,
...@@ -63,6 +64,7 @@ function Print-Usage() { ...@@ -63,6 +64,7 @@ function Print-Usage() {
Write-Host " -pack Create our NuGet packages" Write-Host " -pack Create our NuGet packages"
Write-Host " -deployExtensions Deploy built vsixes" Write-Host " -deployExtensions Deploy built vsixes"
Write-Host " -binaryLog Create binary log for every MSBuild invocation" Write-Host " -binaryLog Create binary log for every MSBuild invocation"
Write-Host " -procdump Monitor test runs with procdump"
Write-Host " -skipAnalyzers Do not run analyzers during build operations" Write-Host " -skipAnalyzers Do not run analyzers during build operations"
Write-Host " -skipBuildExtras Do not build insertion items" Write-Host " -skipBuildExtras Do not build insertion items"
Write-Host "" Write-Host ""
...@@ -548,7 +550,9 @@ function Test-XUnit() { ...@@ -548,7 +550,9 @@ function Test-XUnit() {
if ($cibuild -or $official) { if ($cibuild -or $official) {
# Use a 50 minute timeout on CI # Use a 50 minute timeout on CI
$args += " -xml -timeout:50" $args += " -xml -timeout:50"
}
if ($procdump) {
$procdumpPath = Ensure-ProcDump $procdumpPath = Ensure-ProcDump
$args += " -procdumppath:$procDumpPath" $args += " -procdumppath:$procDumpPath"
} }
......
...@@ -67,7 +67,7 @@ commitPullList.each { isPr -> ...@@ -67,7 +67,7 @@ commitPullList.each { isPr ->
def myJob = job(jobName) { def myJob = job(jobName) {
description("Windows ${configuration} tests on ${buildTarget}") description("Windows ${configuration} tests on ${buildTarget}")
steps { steps {
batchFile(""".\\build\\scripts\\cibuild.cmd ${(configuration == 'debug') ? '-debug' : '-release'} ${(buildTarget == 'unit32') ? '-test32' : '-test64'} -testDesktop""") batchFile(""".\\build\\scripts\\cibuild.cmd ${(configuration == 'debug') ? '-debug' : '-release'} ${(buildTarget == 'unit32') ? '-test32' : '-test64'} -procdump -testDesktop""")
} }
} }
...@@ -223,7 +223,7 @@ commitPullList.each { isPr -> ...@@ -223,7 +223,7 @@ commitPullList.each { isPr ->
def myJob = job(jobName) { def myJob = job(jobName) {
description("Windows ${configuration} tests on ${buildTarget}") description("Windows ${configuration} tests on ${buildTarget}")
steps { steps {
batchFile(""".\\build\\scripts\\cibuild.cmd -${configuration} -testVsi""") batchFile(""".\\build\\scripts\\cibuild.cmd -${configuration} -procdump -testVsi""")
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册