Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ steps:
artifactName: binlogs

# Run the test locally on the Azure VM.
# Note arm is currently not exercised.
- task: VSTest@2
displayName: 'test MRT: ManagedTests'
condition: and(succeeded(), or(eq(variables['buildPlatform'], 'x86'), eq(variables['buildPlatform'], 'x64')))
Expand All @@ -31,7 +32,10 @@ steps:

- task: VSTest@2
displayName: 'test MRT: UnitTests'
condition: and(succeeded(), or(eq(variables['buildPlatform'], 'x86'), eq(variables['buildPlatform'], 'x64')))
# These 3 MRT test suites were previously being run in Helix, but they are now being run via WindowsAppSDK-RunTestsInPipeline-Job.yml instead.
# Resort to running these tests right here on the current job agent if and only if we've got here from ProjectReunion-CI.yml, because we won't
# be running these tests via WindowsAppSDK-RunTestsInPipeline-Job.yml later in this specific flow. Otherwise, we can generally skip these tests.
condition: and(and(succeeded(), or(eq(variables['buildPlatform'], 'x86'), eq(variables['buildPlatform'], 'x64'))), in(variables['Build.Reason'], 'IndividualCI', 'BatchCI'))
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: '**\MrmUnitTest.dll'
Expand All @@ -42,7 +46,7 @@ steps:

- task: VSTest@2
displayName: 'test MRT: BaseUnitTests'
condition: and(succeeded(), or(eq(variables['buildPlatform'], 'x86'), eq(variables['buildPlatform'], 'x64')))
condition: and(and(succeeded(), or(eq(variables['buildPlatform'], 'x86'), eq(variables['buildPlatform'], 'x64'))), in(variables['Build.Reason'], 'IndividualCI', 'BatchCI'))
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: '**\MrmBaseUnitTests.dll'
Expand All @@ -53,7 +57,7 @@ steps:

- task: VSTest@2
displayName: 'test MRT: UnpackagedTests'
condition: and(succeeded(), or(eq(variables['buildPlatform'], 'x86'), eq(variables['buildPlatform'], 'x64')))
condition: and(and(succeeded(), or(eq(variables['buildPlatform'], 'x86'), eq(variables['buildPlatform'], 'x64'))), in(variables['Build.Reason'], 'IndividualCI', 'BatchCI'))
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: '**\MRTCoreUnpackagedTests.dll'
Expand Down
252 changes: 0 additions & 252 deletions build/AzurePipelinesTemplates/WindowsAppSDK-RunHelixTests-Job.yml

This file was deleted.

31 changes: 0 additions & 31 deletions build/Helix/RunTestsInHelix.proj

This file was deleted.

5 changes: 0 additions & 5 deletions build/Helix/global.json

This file was deleted.

4 changes: 0 additions & 4 deletions build/Helix/packages.config

This file was deleted.

12 changes: 0 additions & 12 deletions build/ProjectReunion-BuildFoundation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,15 +266,6 @@ jobs:
PathtoPublish: '$(build.SourcesDirectory)\BuildOutput'
artifactName: 'BuildOutput'

- template: AzurePipelinesTemplates\WindowsAppSDK-RunHelixTests-Job.yml
parameters:
jobName: 'TestInHelix'
dependsOn:
- Build
- BuildAnyCPU
- BuildAndTestMRT
condition: eq(variables['Build.SourceBranch'], 'refs/heads/develop')

# Arm64 uses a different VM type than x64, thus requiring them to be in different
# pools, hence, we spilt the two scenarios into separate jobs.
- template: AzurePipelinesTemplates\WindowsAppSDK-RunTestsInPipeline-Job.yml
Expand All @@ -296,9 +287,6 @@ jobs:
pool: ProjectReunionESPool-2022
timeoutInMinutes: 120
dependsOn:
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/develop') }}:
- TestInHelix
- ${{ if ne(variables['Build.SourceBranch'], 'refs/heads/develop') }}:
- Build
- BuildAnyCPU
- BuildAndTestMRT
Expand Down
10 changes: 2 additions & 8 deletions build/ProjectReunion-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,8 @@ jobs:
artifactName: BuildOutput
PathtoPublish: '$(buildOutputDir)'

- template: AzurePipelinesTemplates\WindowsAppSDK-RunHelixTests-Job.yml
parameters:
name: 'RunTestsInHelix'
dependsOn:
- Build
- BuildMRT
condition: in(dependencies.Build.result, 'Succeeded', 'SucceededWithIssues')
# We no longer run MRT tests in Helix here, due to dwindling Helix support. But one MRT test suite
# is still being run in WindowsAppSDK-BuildAndTestMRT-Steps.yml.

- job: StageAndPack
pool:
Expand Down Expand Up @@ -188,7 +183,6 @@ jobs:
[xml]$publicNuspec = Get-Content -Path $(Build.SourcesDirectory)\build\NuSpecs\Microsoft.WindowsAppSDK.Foundation.nuspec
$publicNuspec.package.metadata.version = $packageVersion
Set-Content -Value $publicNuspec.OuterXml $(Build.SourcesDirectory)\build\NuSpecs\Microsoft.WindowsAppSDK.Foundation.nuspec

- task: PowerShell@2
name: PackNuget
inputs:
Expand Down
11 changes: 11 additions & 0 deletions dev/MRTCore/mrt/Core/unittests/MrmUnitTest.testdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Tests": [
{
"Description": "Mrm Unit Tests (TAEF)",
"Filename": "MrmUnitTest.dll",
"Parameters": "",
"Architectures": ["x64", "x86", "arm64"],
"Status": "Enabled"
}
]
}
Loading