File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 115115 <TestAssemblies Include =" %(TestAssemblyPaths.Identity)" Condition =" Exists(%(TestAssemblyPaths.Identity))" />
116116 <TestDirsWithDuplicates Include =" $([System.IO.Path]::GetDirectoryName('%(TestAssemblies.Identity)'))" />
117117 </ItemGroup >
118+
119+ <Error
120+ Text =" No tests found for Mono AOT compilation. Make sure that the desired test cases are not excluded from AOT compilation."
121+ Condition =" !Exists(%(TestAssemblies.Identity))" />
122+
118123 <RemoveDuplicates Inputs =" @(TestDirsWithDuplicates)" >
119124 <Output TaskParameter =" Filtered" ItemName =" TestDirs" />
120125 </RemoveDuplicates >
121- <ItemGroup >
126+ <ItemGroup >
122127 <TestsAndAssociatedAssemblies Include =" %(TestDirs.Identity)/**/*.dll" Exclude =" @(NoMonoAotAssemblyPaths)" />
123128 <CoreRootDlls Include =" $(CORE_ROOT)/*.dll" Exclude =" $(CORE_ROOT)/xunit.performance.api.dll;$(CORE_ROOT)/Microsoft.CodeAnalysis.VisualBasic.dll" />
124129 <AllDlls Condition =" '$(MonoFullAot)' == 'true'" Include =" @(TestsAndAssociatedAssemblies);@(CoreRootDlls)" />
You can’t perform that action at this time.
0 commit comments