@@ -126,6 +126,10 @@ IEnumerable<RunSimulatorTask> CreateRunSimulatorTaskAsync (XBuildTask buildTask)
126126 targets = new AppRunnerTarget [ ] { AppRunnerTarget . Simulator_iOS32 , AppRunnerTarget . Simulator_iOS64 } ;
127127 platforms = new TestPlatform [ ] { TestPlatform . iOS_Unified32 , TestPlatform . iOS_Unified64 } ;
128128 break ;
129+ case TestPlatform . iOS_TodayExtension64 :
130+ targets = new AppRunnerTarget [ ] { AppRunnerTarget . Simulator_iOS64 } ;
131+ platforms = new TestPlatform [ ] { TestPlatform . iOS_TodayExtension64 } ;
132+ break ;
129133 default :
130134 throw new NotImplementedException ( ) ;
131135 }
@@ -204,6 +208,22 @@ IEnumerable<TestData> GetTestData (RunTestTask test)
204208 yield return new TestData { Variation = "Release (all optimizations)" , MTouchExtraArgs = "--registrar:static --optimize:all" , Debug = false , Profiling = false , LinkMode = "Full" , Defines = "OPTIMIZEALL" } ;
205209 yield return new TestData { Variation = "Debug (all optimizations)" , MTouchExtraArgs = "--registrar:static --optimize:all,-remove-uithread-checks" , Debug = true , Profiling = false , LinkMode = "Full" , Defines = "OPTIMIZEALL" , Ignored = ! IncludeAll } ;
206210 break ;
211+ case "mono-native-compat" :
212+ case "mono-native-unified" :
213+ yield return new TestData { Variation = "AssemblyBuildTarget: dylib (debug)" , MTouchExtraArgs = "--assembly-build-target=@all=dynamiclibrary" , Debug = true , Profiling = false } ;
214+ yield return new TestData { Variation = "AssemblyBuildTarget: SDK framework (debug)" , MTouchExtraArgs = "--assembly-build-target=@sdk=framework=Xamarin.Sdk --assembly-build-target=@all=staticobject" , Debug = true , Profiling = false } ;
215+
216+ yield return new TestData { Variation = "AssemblyBuildTarget: dylib (debug, profiling)" , MTouchExtraArgs = "--assembly-build-target=@all=dynamiclibrary" , Debug = true , Profiling = true } ;
217+ yield return new TestData { Variation = "AssemblyBuildTarget: SDK framework (debug, profiling)" , MTouchExtraArgs = "--assembly-build-target=@sdk=framework=Xamarin.Sdk --assembly-build-target=@all=staticobject" , Debug = true , Profiling = true } ;
218+
219+ yield return new TestData { Variation = "AssemblyBuildTarget: SDK framework (release)" , MTouchExtraArgs = "--assembly-build-target=@sdk=framework=Xamarin.Sdk --assembly-build-target=@all=staticobject" , Debug = false , Profiling = false } ;
220+
221+ yield return new TestData { Variation = "Release" , MTouchExtraArgs = "" , Debug = false , Profiling = false } ;
222+ yield return new TestData { Variation = "Release (all optimizations)" , MTouchExtraArgs = "--registrar:static --optimize:all" , Debug = false , Profiling = false , LinkMode = "Full" , Defines = "OPTIMIZEALL" } ;
223+
224+ yield return new TestData { Variation = "Debug (static registrar)" , MTouchExtraArgs = "--registrar:static" , Debug = true , Profiling = false } ;
225+ yield return new TestData { Variation = "Debug (all optimizations)" , MTouchExtraArgs = "--registrar:static --optimize:all" , Debug = true , Profiling = false , LinkMode = "Full" , Defines = "OPTIMIZEALL" } ;
226+ break ;
207227 }
208228 break ;
209229 case "AnyCPU" :
@@ -330,6 +350,8 @@ IEnumerable<TestTask> CreateRunSimulatorTasks ()
330350 var ps = new List < Tuple < TestProject , TestPlatform , bool > > ( ) ;
331351 if ( ! project . SkipiOSVariation )
332352 ps . Add ( new Tuple < TestProject , TestPlatform , bool > ( project , TestPlatform . iOS_Unified , ignored || ! IncludeiOS ) ) ;
353+ if ( project . MonoNativeInfo != null )
354+ ps . Add ( new Tuple < TestProject , TestPlatform , bool > ( project , TestPlatform . iOS_TodayExtension64 , ignored || ! IncludeiOS ) ) ;
333355 if ( ! project . SkiptvOSVariation )
334356 ps . Add ( new Tuple < TestProject , TestPlatform , bool > ( project . AsTvOSProject ( ) , TestPlatform . tvOS , ignored || ! IncludetvOS ) ) ;
335357 if ( ! project . SkipwatchOSVariation )
0 commit comments