File tree 2 files changed +11
-1
lines changed 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ extends:
244
244
extraStepsTemplate : /eng/pipelines/coreclr/nativeaot-post-build-steps.yml
245
245
extraStepsParameters :
246
246
creator : dotnet-bot
247
- testBuildArgs : nativeaot tree nativeaot /p:BuildNativeAotFrameworkObjects=true
247
+ testBuildArgs : ' nativeaot tree "; nativeaot;Loader;Interop;" /p:BuildNativeAotFrameworkObjects=true'
248
248
liveLibrariesBuildConfig : Release
249
249
testRunNamePrefixSuffix : NativeAOT_$(_BuildConfig)
250
250
extraVariablesTemplates :
Original file line number Diff line number Diff line change 549
549
550
550
<!-- Bump the generic cycle tolerance. There's at least one test with a cycle that is reachable at runtime to depth 6 -->
551
551
<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" />
552
562
</ItemGroup >
553
563
554
564
<Import Project =" $(CoreCLRBuildIntegrationDir)Microsoft.DotNet.ILCompiler.SingleEntry.targets" Condition =" '$(TestBuildMode)' == 'nativeaot'" />
You can’t perform that action at this time.
0 commit comments