Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
30cb65f
Update WindowsAppSDK-RunHelixTests-Job.yml
alexlamtest Mar 10, 2023
6f1fcb6
Update WindowsAppSDK-BuildFoundation-job.yml
alexlamtest Mar 10, 2023
bf367d0
Add files via upload
alexlamtest Mar 10, 2023
86ba730
Update MrtCoreUnpackagedTests.csproj
alexlamtest Mar 10, 2023
0e3d4e6
Add files via upload
alexlamtest Mar 10, 2023
44ff627
Update MrmUnitTest.vcxproj
alexlamtest Mar 10, 2023
964b80b
Add files via upload
alexlamtest Mar 10, 2023
eb04999
Update MrmBaseUnitTests.vcxproj
alexlamtest Mar 10, 2023
7fafdfe
Update WindowsAppSDK-BuildFoundation-job.yml
alexlamtest Mar 10, 2023
0680cce
Update WindowsAppSDK-RunHelixTests-Job.yml
alexlamtest Mar 10, 2023
7bc4009
Update WindowsAppSDK-RunTestsInPipeline-Job.yml
alexlamtest Mar 10, 2023
cf97b89
Update WindowsAppSDK-RunHelixTests-Job.yml
alexlamtest Mar 10, 2023
fd15b02
Update WindowsAppSDK-BuildFoundation-job.yml
alexlamtest Mar 10, 2023
e533fd7
Update MrmUnitTests.testdef
alexlamtest Mar 10, 2023
85ae004
Update MrtCoreUnpackagedTests.testdef
alexlamtest Mar 10, 2023
23e8569
Update MrmBaseUnitTests.testdef
alexlamtest Mar 10, 2023
f72ecbe
Update WindowsAppSDK-BuildFoundation-job.yml
alexlamtest Mar 10, 2023
5f7dd0d
Update WindowsAppSDK-RunTestsInPipeline-Job.yml
alexlamtest Mar 10, 2023
fbcb29c
Update tsaoptions.json
alexlamtest Mar 10, 2023
67a72d7
Update WindowsAppSDK-BuildAndTestMRT-Steps.yml
alexlamtest Mar 10, 2023
7de6160
Delete MrmUnitTests.testdef
alexlamtest Mar 10, 2023
e627a6f
Add files via upload
alexlamtest Mar 10, 2023
6a9e12e
Update MrmUnitTest.vcxproj
alexlamtest Mar 10, 2023
eff1595
Update WindowsAppSDK-BuildAndTestMRT-Steps.yml
alexlamtest Mar 11, 2023
af7ea23
Update WindowsAppSDK-BuildFoundation-job.yml
alexlamtest Mar 11, 2023
b9fdb91
Update WindowsAppSDK-BuildFoundation-job.yml
alexlamtest Mar 11, 2023
cbfa9bd
Update WindowsAppSDK-RunTestsInPipeline-Job.yml
alexlamtest Mar 11, 2023
9f2a60c
Delete WindowsAppSDK-RunHelixTests-Job.yml
alexlamtest Mar 11, 2023
3de5c8e
Update tsaoptions.json
alexlamtest Mar 11, 2023
4e7e94f
Merge branch 'develop' into user/alexlam/43277347-dev-20230309
alexlamtest Mar 11, 2023
963aab2
Update ProjectReunion-CI.yml
alexlamtest Mar 14, 2023
916318e
Delete RunTestsInHelix.proj
alexlamtest Mar 14, 2023
c3a0ab5
Delete global.json
alexlamtest Mar 14, 2023
7b39f5e
Delete packages.config
alexlamtest Mar 14, 2023
6eb4f17
Delete WindowsAppSDK.Helix.Test.sln
alexlamtest Mar 14, 2023
5db49f3
Delete Program.cs
alexlamtest Mar 14, 2023
2c88ecf
Delete WindowsAppSDK.Helix.Test.NetCore.csproj
alexlamtest Mar 14, 2023
19acb83
Delete TestAssembly.cs
alexlamtest Mar 14, 2023
b1374e9
Delete TestMachineSetup.cmd
alexlamtest Mar 14, 2023
9d2342f
Delete TestPass-EnsureMachineState.ps1
alexlamtest Mar 14, 2023
6d4ea67
Delete TestPass-OneTimeMachineSetup.ps1
alexlamtest Mar 14, 2023
1e03ea3
Delete TestPass-PostRun.ps1
alexlamtest Mar 14, 2023
7fb2387
Delete TestPass-PreRun.ps1
alexlamtest Mar 14, 2023
b58f145
Delete WindowsAppSDK.Helix.TestCommon.csproj
alexlamtest Mar 14, 2023
220d159
Merge branch 'develop' into user/alexlam/43277347-dev-20230309
alexlamtest Mar 14, 2023
e92090a
Update WindowsAppSDK-BuildAndTestMRT-Steps.yml
alexlamtest Mar 15, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,6 @@ jobs:
PathtoPublish: '$(build.SourcesDirectory)\BuildOutput'
artifactName: 'BuildOutput'

- template: 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: WindowsAppSDK-RunTestsInPipeline-Job.yml
Expand All @@ -293,9 +284,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
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.

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