From e1054fcf563f8d6d94f04a24ba500b98ac131804 Mon Sep 17 00:00:00 2001 From: Giorgi Dalakishvili Date: Thu, 7 Dec 2023 19:12:24 +0400 Subject: [PATCH] Verify that test server recieves proguard mapping file (#2952) * Generate and upload mapping file for test app * Verify that test server recieves proguard mapping file * Merge main commit de20b78472f52b0d468532230de689197e9a9503 Author: Ivan Dlugos <6349682+vaind@users.noreply.github.com> Date: Wed Dec 6 14:37:19 2023 +0100 Revert "Proguard upload test (#2947)" (#2951) commit d7a04a803f67c18d5aea167c397d5d700512226c Author: Ivan Dlugos <6349682+vaind@users.noreply.github.com> Date: Wed Dec 6 13:42:17 2023 +0100 test: fix maui integration test (#2948) commit 22e93a7ee61ee320e207c0f77a1515df9b0f4c6d Author: Giorgi Dalakishvili Date: Wed Dec 6 00:56:00 2023 +0400 Proguard upload test (#2947) * Generate and upload mapping file for test app * Verify that test server recieves proguard mapping file * Move server assets to dotnet project * Revert "Move server assets to dotnet project" This reverts commit 0aedcbd7e84a7d498376a042c25c3a88c11984f7. --- integration-test/cli.Tests.ps1 | 1 + integration-test/common.ps1 | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/integration-test/cli.Tests.ps1 b/integration-test/cli.Tests.ps1 index ff921410fd..54b4102a9b 100644 --- a/integration-test/cli.Tests.ps1 +++ b/integration-test/cli.Tests.ps1 @@ -152,6 +152,7 @@ Describe 'MAUI' -ForEach @( 'libxamarin-app.so', 'maui-app.pdb' ) + $result.ScriptOutput | Should -AnyElementMatch 'Uploaded a total of 1 new mapping files' $result.ScriptOutput | Should -AnyElementMatch 'Found 17 debug information files \(1 with embedded sources\)' } 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'