Skip to content

Commit 3cbc8a5

Browse files
committed
Fix NativeAOT size tests
1 parent ca98c5f commit 3cbc8a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/XenoAtom.CommandLine.Tests/NativeAotSizeTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public void PublishAot_Size_IsUnderLimit()
5050
//Console.WriteLine($"Executable size: {exeSize:N0} bytes");
5151
// NativeAOT output size is sensitive to SDK/toolchain changes (even between patch versions).
5252
long maxBytes = OperatingSystem.IsWindows() ? 1_330_000 :
53-
OperatingSystem.IsMacOS() ? 1_470_000 :
54-
1_520_000; // Linux (To check);
53+
OperatingSystem.IsMacOS() ? 1_550_000 :
54+
1_580_000; // Linux (To check);
5555
Assert.IsLessThanOrEqualTo(maxBytes, exeSize, $"NativeAOT size regression: {exeSize:N0} bytes > {maxBytes:N0} bytes. Output: `{exePath}`");
5656
}
5757

0 commit comments

Comments
 (0)