[tests] Add missing check for available runtime identifiers in a few tests. (#18739)

This commit is contained in:
Rolf Bjarne Kvinge 2023-08-16 10:29:42 +02:00 коммит произвёл GitHub
Родитель 587f722283
Коммит d6c79bffb3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 0 удалений

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

@ -10,6 +10,7 @@ namespace Xamarin.Tests {
public void NativeLink (ApplePlatform platform, string runtimeIdentifiers)
{
Configuration.IgnoreIfIgnoredPlatform (platform);
Configuration.AssertRuntimeIdentifiersAvailable (platform, runtimeIdentifiers);
var project_path = GenerateProject (platform, name: nameof (NativeLink), runtimeIdentifiers: runtimeIdentifiers, out var appPath);
var properties = new Dictionary<string, string> (verbosity);

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

@ -11,6 +11,7 @@ namespace Xamarin.Tests {
var configuration = "Debug";
var runtimeIdentifiers = GetDefaultRuntimeIdentifier (platform);
Configuration.IgnoreIfIgnoredPlatform (platform);
Configuration.AssertRuntimeIdentifiersAvailable (platform, runtimeIdentifiers);
var projectPath = GetProjectPath (project, platform: platform);
Clean (projectPath);