Skip to content

Commit dfcc2dc

Browse files
Copilotbaywet
andauthored
ci(azure): validate mtp output layout
Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
1 parent e15916b commit dfcc2dc

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
@@ -111,6 +111,7 @@ extends:
111111
$testExecutables = @($testExecutableCandidates | Where-Object {
112112
# Match the app produced by its own project output: test\<ProjectName>\bin\<Configuration>\<TFM>\<ProjectName>.exe.
113113
$_.Directory.Parent.Name -eq "$(BuildConfiguration)" -and
114+
$_.Directory.Parent.Parent.Name -eq "bin" -and
114115
$_.BaseName -eq $_.Directory.Parent.Parent.Parent.Name -and
115116
# xUnit v3 MTP test apps copy the runner assembly next to the generated executable.
116117
@(Get-ChildItem -Path $_.DirectoryName -Filter "xunit.v3.mtp*.dll").Count -gt 0

0 commit comments

Comments
 (0)