Skip to content

Commit

Permalink
Try adjust test size
Browse files Browse the repository at this point in the history
  • Loading branch information
cshung committed Mar 19, 2024
1 parent ca1141e commit ddb57b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ The .NET Foundation licenses this file to you under the MIT license.

<LinkStandardCPlusPlusLibrary Condition="'$(LinkStandardCPlusPlusLibrary)' == '' and '$(_IsiOSLikePlatform)' == 'true' and '$(InvariantGlobalization)' != 'true'">true</LinkStandardCPlusPlusLibrary>
<VxSortSupportName>libRuntime.VxsortEnabled</VxSortSupportName>
<!-- TODO, testing only, should use the same policy as Windows -->
<VxSortSupportName Condition="'$(OptimizationPreference)' == 'Size' or '$(IlcDisableVxsort)' == 'true' or 'true' == 'true'">libRuntime.VxsortDisabled</VxSortSupportName>
<VxSortSupportName Condition="'$(OptimizationPreference)' == 'Size' or '$(IlcDisableVxsort)' == 'true'">libRuntime.VxsortDisabled</VxSortSupportName>
<StandaloneGCSupportName>libstandalonegc-disabled</StandaloneGCSupportName>
<StandaloneGCSupportName Condition="'$(IlcStandaloneGCSupport)' == 'true'">libstandalonegc-enabled</StandaloneGCSupportName>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static int TestEntryPoint()

long lowerBound, upperBound;
lowerBound = 1300 * 1024; // ~1.3 MB
upperBound = 1750 * 1024; // ~1.75 MB
upperBound = 1900 * 1024; // ~1.90 MB

if (fileSize < lowerBound || fileSize > upperBound)
{
Expand Down

0 comments on commit ddb57b2

Please sign in to comment.