File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ extends:
244244 extraStepsTemplate : /eng/pipelines/coreclr/nativeaot-post-build-steps.yml
245245 extraStepsParameters :
246246 creator : dotnet-bot
247- testBuildArgs : nativeaot tree nativeaot /p:BuildNativeAotFrameworkObjects=true
247+ testBuildArgs : ' nativeaot tree "; nativeaot;Loader;Interop;" /p:BuildNativeAotFrameworkObjects=true'
248248 liveLibrariesBuildConfig : Release
249249 testRunNamePrefixSuffix : NativeAOT_$(_BuildConfig)
250250 extraVariablesTemplates :
Original file line number Diff line number Diff line change 549549
550550 <!-- Bump the generic cycle tolerance. There's at least one test with a cycle that is reachable at runtime to depth 6 -->
551551 <IlcArg Include =" --maxgenericcycle:7" />
552+
553+ <!-- We set TrimMode to partial so that we don't trim parts of the tests,
554+ but don't make this apply to xunit cruft -->
555+ <IlcArg Include =" --trim:Microsoft.DotNet.XUnitExtensions" />
556+ <IlcArg Include =" --trim:xunit.abstractions" />
557+ <IlcArg Include =" --trim:xunit.assert" />
558+ <IlcArg Include =" --trim:xunit.console" />
559+ <IlcArg Include =" --trim:xunit.core" />
560+ <IlcArg Include =" --trim:xunit.execution.dotnet" />
561+ <IlcArg Include =" --trim:xunit.abstractions" />
552562 </ItemGroup >
553563
554564 <Import Project =" $(CoreCLRBuildIntegrationDir)Microsoft.DotNet.ILCompiler.SingleEntry.targets" Condition =" '$(TestBuildMode)' == 'nativeaot'" />
You can’t perform that action at this time.
0 commit comments