From 8ce422cff387bdf092264ae03d6d277c25019879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Thu, 30 Mar 2023 16:39:28 +0200 Subject: [PATCH 1/2] Add NuGet-Migrations workaround to runtime tests too See https://github.com/dotnet/runtime/issues/80619 --- src/libraries/sendtohelixhelp.proj | 5 +++++ src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh | 3 --- src/tests/Common/helixpublishwitharcade.proj | 5 +++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/libraries/sendtohelixhelp.proj b/src/libraries/sendtohelixhelp.proj index 9f0722fd06779..663d24ec1e316 100644 --- a/src/libraries/sendtohelixhelp.proj +++ b/src/libraries/sendtohelixhelp.proj @@ -174,6 +174,11 @@ + + + + + diff --git a/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh b/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh index 5ba72dfad34e9..6920f6dc9a1b7 100644 --- a/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh +++ b/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash -# create dummy console app to workaround https://github.com/dotnet/runtime/issues/80619 -(CONSOLE_TEMP_DIR="$(mktemp -d)"; "$DOTNET_ROOT/dotnet" new console -o "$CONSOLE_TEMP_DIR"; rm -rf "$CONSOLE_TEMP_DIR") || true - set echo "------------------------ start -------------------" diff --git a/src/tests/Common/helixpublishwitharcade.proj b/src/tests/Common/helixpublishwitharcade.proj index 9907afa7e30ca..5a3803f812628 100644 --- a/src/tests/Common/helixpublishwitharcade.proj +++ b/src/tests/Common/helixpublishwitharcade.proj @@ -712,6 +712,11 @@ + + + + + @(HelixPreCommand) @(HelixPostCommand) From 0358f8c00b11bfa8268ef25b025ae3b94dca1b32 Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Tue, 11 Apr 2023 14:01:55 -0400 Subject: [PATCH 2/2] Revert wbt RunScriptTemplate --- src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh b/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh index 6920f6dc9a1b7..5ba72dfad34e9 100644 --- a/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh +++ b/src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# create dummy console app to workaround https://github.com/dotnet/runtime/issues/80619 +(CONSOLE_TEMP_DIR="$(mktemp -d)"; "$DOTNET_ROOT/dotnet" new console -o "$CONSOLE_TEMP_DIR"; rm -rf "$CONSOLE_TEMP_DIR") || true + set echo "------------------------ start -------------------"