[introspection] Make green on .NET/Mac Catalyst. Fixes #10215. (#12329)

* [introspection] Ignore the ApiAvailabilityTest.LegacyAttribute test on Mac Catalyst as well.

* [introspection] #10883 only applies to Mac Catalyst for legacy Xamarin.

* [xharness] introspection is now green on .NET/Mac Catalyst
This commit is contained in:
Rolf Bjarne Kvinge 2021-08-03 17:58:10 +02:00 коммит произвёл GitHub
Родитель eafe528591
Коммит b9c12e5fb0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 5 добавлений и 5 удалений

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

@ -393,7 +393,7 @@ namespace Introspection {
}
[Test]
#if IOS || TVOS
#if IOS || TVOS || __MACCATALYST__
[Ignore ("work in progress")]
#endif
public void LegacyAttributes ()

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

@ -271,7 +271,7 @@ namespace Introspection
// it's not complete (there's many more SDK assemblies) but we cannot add all of them into a single project anyway
[Test]
#if __MACCATALYST__
#if __MACCATALYST__ && !NET
[Ignore ("https://github.com/xamarin/xamarin-macios/issues/10883")]
#endif
public void Corlib ()
@ -282,7 +282,7 @@ namespace Introspection
}
[Test]
#if __MACCATALYST__
#if __MACCATALYST__ && !NET
[Ignore ("https://github.com/xamarin/xamarin-macios/issues/10883")]
#endif
public void System ()
@ -293,7 +293,7 @@ namespace Introspection
}
[Test]
#if __MACCATALYST__
#if __MACCATALYST__ && !NET
[Ignore ("https://github.com/xamarin/xamarin-macios/issues/10883")]
#endif
public void SystemCore ()

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

@ -297,7 +297,7 @@ namespace Xharness {
IsDotNetProject = true,
TargetFrameworkFlavors = MacFlavors.MacCatalyst,
Platform = "AnyCPU",
Ignore = true /* always ignored for now, it has known failures */,
Ignore = !ENABLE_DOTNET,
});
MacTestProjects.Add (new MacTestProject (Path.GetFullPath (Path.Combine (RootDirectory, "monotouch-test", "dotnet", "macOS", "monotouch-test.csproj"))) {