From 912719ce908db1f1aa9dea757b9f7821af294836 Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Wed, 16 Nov 2022 10:29:29 +0000 Subject: [PATCH] Run Localization Tests under .net --- .../automation/yaml-templates/run-localization-tests.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-tools/automation/yaml-templates/run-localization-tests.yaml b/build-tools/automation/yaml-templates/run-localization-tests.yaml index 2a0c351019f..1ed205cf539 100644 --- a/build-tools/automation/yaml-templates/run-localization-tests.yaml +++ b/build-tools/automation/yaml-templates/run-localization-tests.yaml @@ -35,8 +35,9 @@ jobs: - template: run-nunit-tests.yaml parameters: testRunTitle: LocalizationTests On Device - macOS - testAssembly: $(System.DefaultWorkingDirectory)/bin/Test$(XA.Build.Configuration)/MSBuildDeviceIntegration/net472/MSBuildDeviceIntegration.dll - nunitConsoleExtraArgs: --where "test == Xamarin.Android.Build.Tests.DeploymentTest.CheckLocalizationIsCorrectNode${{ parameters.node_id }}" + testAssembly: $(System.DefaultWorkingDirectory)/bin/Test$(XA.Build.Configuration)/MSBuildDeviceIntegration/$(DotNetStableTargetFramework)/MSBuildDeviceIntegration.dll + useDotNet: true + dotNetTestExtraArgs: --filter "Name~CheckLocalizationIsCorrectNode${{ parameters.node_id }}" testResultsFile: TestResult-LocalizationTests-Node${{ parameters.node_id }}-$(XA.Build.Configuration).xml - task: MSBuild@1