From 47d65122e2f38543803eb54564ecd8e8222df849 Mon Sep 17 00:00:00 2001 From: Giorgi Date: Tue, 5 Dec 2023 22:22:54 +0400 Subject: [PATCH 1/2] Generate and upload mapping file for test app --- integration-test/common.ps1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/integration-test/common.ps1 b/integration-test/common.ps1 index ce25c66b45..2aec9f6771 100644 --- a/integration-test/common.ps1 +++ b/integration-test/common.ps1 @@ -181,6 +181,19 @@ BeforeAll { throw "Failed to create the test app '$name' from template '$type'." } + if ($type -eq 'maui') + { + @" + + + true + r8 + d8 + + +"@ | Out-File $name/Directory.Build.props + } + if ($type -eq 'console') { AddPackageReference $name 'Sentry' From 668448159f7b1753976b7357e6271c5890563fcc Mon Sep 17 00:00:00 2001 From: Giorgi Date: Tue, 5 Dec 2023 22:47:43 +0400 Subject: [PATCH 2/2] Verify that test server recieves proguard mapping file --- integration-test/cli.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-test/cli.Tests.ps1 b/integration-test/cli.Tests.ps1 index 8645b0afed..266fbf0eef 100644 --- a/integration-test/cli.Tests.ps1 +++ b/integration-test/cli.Tests.ps1 @@ -156,6 +156,7 @@ Describe 'MAUI' -ForEach @( 'maui-app.pdb' ) $result.ScriptOutput | Should -AnyElementMatch 'Found 1 debug information file \(1 with embedded sources\)' + $result.ScriptOutput | Should -AnyElementMatch 'Uploaded a total of 1 new mapping files' } It "uploads symbols and sources for an iOS build" -Skip:(!$IsMacOS) {