From 3e73be1b8082840545dbf85867cc4f9023e9b1aa Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Thu, 9 Mar 2023 13:45:56 -0800 Subject: [PATCH] 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 --- src/tests/nativeaot/SmokeTests/DwarfDump/DwarfDump.csproj | 4 ++-- src/tests/nativeaot/SmokeTests/DwarfDump/Program.cs | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) 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) -- 2.7.4