Skip to content

Commit f57d73c

Browse files
Copilotbaywet
andauthored
ci(azure): document mtp output path assumption
Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
1 parent fb02179 commit f57d73c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.azure-pipelines/ci-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ extends:
105105
New-Item -ItemType Directory -Force -Path $testResultsDirectory | Out-Null
106106
107107
$testExecutables = @(Get-ChildItem -Path "$(Build.SourcesDirectory)\test" -Recurse -Filter "*.Tests.exe" | Where-Object {
108+
# Match the app produced by its own project output: test\<ProjectName>\bin\<Configuration>\<TFM>\<ProjectName>.exe.
108109
$_.Directory.Parent.Name -eq "$(BuildConfiguration)" -and
109110
$_.BaseName -eq $_.Directory.Parent.Parent.Parent.Name -and
110111
# xUnit v3 MTP test apps copy the runner assembly next to the generated executable.

0 commit comments

Comments
 (0)