From: Andy Gocke Date: Thu, 9 Mar 2023 21:45:56 +0000 (-0800) Subject: Enable DwarfDump AOT test in Release (#82862) X-Git-Tag: accepted/tizen/unified/riscv/20231226.055536~3554 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e73be1b8082840545dbf85867cc4f9023e9b1aa;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Enable DwarfDump AOT test in Release (#82862) * Enable DwarfDump AOT test in Release There are some reports (#82802) that debugging might be particularly bad in Release. * Update warning counts for Release --- diff --git a/src/tests/nativeaot/SmokeTests/DwarfDump/DwarfDump.csproj b/src/tests/nativeaot/SmokeTests/DwarfDump/DwarfDump.csproj index 783b9db..abb451d 100644 --- a/src/tests/nativeaot/SmokeTests/DwarfDump/DwarfDump.csproj +++ b/src/tests/nativeaot/SmokeTests/DwarfDump/DwarfDump.csproj @@ -4,8 +4,8 @@ Exe BuildAndRun 0 - - true + + true diff --git a/src/tests/nativeaot/SmokeTests/DwarfDump/Program.cs b/src/tests/nativeaot/SmokeTests/DwarfDump/Program.cs index 290c499..f0996dd 100644 --- a/src/tests/nativeaot/SmokeTests/DwarfDump/Program.cs +++ b/src/tests/nativeaot/SmokeTests/DwarfDump/Program.cs @@ -50,8 +50,13 @@ public class Program }); // Just count the number of warnings and errors. There are so many right now that it's not worth enumerating the list +#if DEBUG const int MinWarnings = 17000; const int MaxWarnings = 18500; +#else + const int MinWarnings = 12000; + const int MaxWarnings = 13000; +#endif int count = 0; string line; while ((line = proc.StandardOutput.ReadLine()) != null)