[xharness] Add the dotnet introspection project file to our list of projects, and mark it as a .NET project.

This commit is contained in:
Rolf Bjarne Kvinge 2020-06-19 14:41:03 +02:00
Родитель 55a9697b66
Коммит 989cda8b2d
2 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -389,6 +389,7 @@ namespace Xharness {
IOSTestProjects.Add (new iOSTestProject (Path.GetFullPath (Path.Combine (RootDirectory, p + "/" + p + ".fsproj")), false) { Name = p });
IOSTestProjects.Add (new iOSTestProject (Path.GetFullPath (Path.Combine (RootDirectory, "introspection", "iOS", "introspection-ios.csproj"))) { Name = "introspection" });
IOSTestProjects.Add (new iOSTestProject (Path.GetFullPath (Path.Combine (RootDirectory, "introspection", "iOS", "introspection-ios-dotnet.csproj"))) { Name = "introspection", IsDotNetProject = true, SkipiOSVariation = false, SkiptvOSVariation = true, SkipwatchOSVariation = true, SkipTodayExtensionVariation = true, SkipDeviceVariations = true, SkipiOS32Variation = true, });
IOSTestProjects.Add (new iOSTestProject (Path.GetFullPath (Path.Combine (RootDirectory, "linker", "ios", "dont link", "dont link.csproj"))) { Configurations = new string [] { "Debug", "Release" } });
IOSTestProjects.Add (new iOSTestProject (Path.GetFullPath (Path.Combine (RootDirectory, "linker", "ios", "link all", "link all.csproj"))) { Configurations = new string [] { "Debug", "Release" } });
IOSTestProjects.Add (new iOSTestProject (Path.GetFullPath (Path.Combine (RootDirectory, "linker", "ios", "link sdk", "link sdk.csproj"))) { Configurations = new string [] { "Debug", "Release" } });

Просмотреть файл

@ -18,6 +18,7 @@ namespace Microsoft.DotNet.XHarness.iOS.Shared {
public string Name;
public bool IsExecutableProject;
public bool IsNUnitProject;
public bool IsDotNetProject;
public string [] Configurations;
public Func<Task> Dependency;
public string FailureMessage;
@ -55,6 +56,7 @@ namespace Microsoft.DotNet.XHarness.iOS.Shared {
TestProject rv = (TestProject) Activator.CreateInstance (GetType ());
rv.Path = Path;
rv.IsExecutableProject = IsExecutableProject;
rv.IsDotNetProject = IsDotNetProject;
rv.RestoreNugetsInProject = RestoreNugetsInProject;
rv.Name = Name;
rv.MTouchExtraArgs = MTouchExtraArgs;