void AutoConfigure() { var test_suites = new string [] { "monotouch-test", "framework-test", "mini" }; var library_projects = new string [] { "BundledResources", "EmbeddedResources", "bindings-test", "bindings-framework-test" }; var fsharp_test_suites = new string [] { "fsharp" }; var fsharp_library_projects = new string [] { "fsharplibrary" }; var bcl_suites = new string [] { "mscorlib", "System", "System.Core", "System.Data", "System.Net.Http", "System.Numerics", "System.Runtime.Serialization", "System.Transactions", "System.Web.Services", "System.Xml", "System.Xml.Linq", "Mono.Security", "System.ComponentModel.DataAnnotations", "System.Json", "System.ServiceModel.Web", "Mono.Data.Sqlite" }; foreach (var p in test_suites) { TestProjects.Add(Path.GetFullPath(Path.Combine(RootDirectory, p + "/" + p + ".csproj"))); } foreach (var p in fsharp_test_suites) { TestProjects.Add(Path.GetFullPath(Path.Combine(RootDirectory, p + "/" + p + ".fsproj"))); } foreach (var p in library_projects) { TestProjects.Add(Path.GetFullPath(Path.Combine(RootDirectory, p + "/" + p + ".csproj"))); } foreach (var p in fsharp_library_projects) { TestProjects.Add(Path.GetFullPath(Path.Combine(RootDirectory, p + "/" + p + ".fsproj"))); } foreach (var p in bcl_suites) { TestProjects.Add(Path.GetFullPath(Path.Combine(RootDirectory, "bcl-test/" + p + "/" + p + ".csproj"))); } TestProjects.Add(Path.GetFullPath(Path.Combine(RootDirectory, "introspection", "iOS", "introspection-ios.csproj"))); TestProjects.Add(Path.GetFullPath(Path.Combine(RootDirectory, "linker-ios", "dont link", "dont link.csproj"))); TestProjects.Add(Path.GetFullPath(Path.Combine(RootDirectory, "linker-ios", "link all", "link all.csproj"))); TestProjects.Add(Path.GetFullPath(Path.Combine(RootDirectory, "linker-ios", "link sdk", "link sdk.csproj"))); BclTests.AddRange(bcl_suites); WatchOSContainerTemplate = Path.GetFullPath(Path.Combine(RootDirectory, "watchos/Container")); WatchOSAppTemplate = Path.GetFullPath(Path.Combine(RootDirectory, "watchos/App")); WatchOSExtensionTemplate = Path.GetFullPath(Path.Combine(RootDirectory, "watchos/Extension")); ParseConfigFiles(); var src_root = Path.GetDirectoryName(RootDirectory); MONO_PATH = Path.GetFullPath(Path.Combine(src_root, "external", "mono")); WATCH_MONO_PATH = make_config ["WATCH_MONO_PATH"]; TVOS_MONO_PATH = MONO_PATH; INCLUDE_WATCH = make_config.ContainsKey("INCLUDE_WATCH") && !string.IsNullOrEmpty(make_config ["INCLUDE_WATCH"]); }
void AutoConfigureIOS() { var test_suites = new string [] { "monotouch-test", "framework-test", "mini" }; var library_projects = new string [] { "BundledResources", "EmbeddedResources", "bindings-test", "bindings-framework-test" }; var fsharp_test_suites = new string [] { "fsharp" }; var fsharp_library_projects = new string [] { "fsharplibrary" }; var bcl_suites = new string [] { "mscorlib", "System", "System.Core", "System.Data", "System.Net.Http", "System.Numerics", "System.Runtime.Serialization", "System.Transactions", "System.Web.Services", "System.Xml", "System.Xml.Linq", "Mono.Security", "System.ComponentModel.DataAnnotations", "System.Json", "System.ServiceModel.Web", "Mono.Data.Sqlite" }; IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, "bcl-test/mscorlib/mscorlib-0.csproj")), false)); IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, "bcl-test/mscorlib/mscorlib-1.csproj")), false)); foreach (var p in test_suites) { IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, p + "/" + p + ".csproj")))); } foreach (var p in fsharp_test_suites) { IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, p + "/" + p + ".fsproj")))); } foreach (var p in library_projects) { IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, p + "/" + p + ".csproj")), false)); } foreach (var p in fsharp_library_projects) { IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, p + "/" + p + ".fsproj")), false)); } foreach (var p in bcl_suites) { IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, "bcl-test/" + p + "/" + p + ".csproj")))); } IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, "introspection", "iOS", "introspection-ios.csproj")))); IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, "linker-ios", "dont link", "dont link.csproj")))); IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, "linker-ios", "link all", "link all.csproj")))); IOSTestProjects.Add(new TestProject(Path.GetFullPath(Path.Combine(RootDirectory, "linker-ios", "link sdk", "link sdk.csproj")))); BclTests.AddRange(bcl_suites); WatchOSContainerTemplate = Path.GetFullPath(Path.Combine(RootDirectory, "watchos/Container")); WatchOSAppTemplate = Path.GetFullPath(Path.Combine(RootDirectory, "watchos/App")); WatchOSExtensionTemplate = Path.GetFullPath(Path.Combine(RootDirectory, "watchos/Extension")); AutoConfigureCommon(); }