[tests] Add missing check for available runtime identifiers in a few tests. (#18739)
This commit is contained in:
Родитель
587f722283
Коммит
d6c79bffb3
|
@ -10,6 +10,7 @@ namespace Xamarin.Tests {
|
||||||
public void NativeLink (ApplePlatform platform, string runtimeIdentifiers)
|
public void NativeLink (ApplePlatform platform, string runtimeIdentifiers)
|
||||||
{
|
{
|
||||||
Configuration.IgnoreIfIgnoredPlatform (platform);
|
Configuration.IgnoreIfIgnoredPlatform (platform);
|
||||||
|
Configuration.AssertRuntimeIdentifiersAvailable (platform, runtimeIdentifiers);
|
||||||
|
|
||||||
var project_path = GenerateProject (platform, name: nameof (NativeLink), runtimeIdentifiers: runtimeIdentifiers, out var appPath);
|
var project_path = GenerateProject (platform, name: nameof (NativeLink), runtimeIdentifiers: runtimeIdentifiers, out var appPath);
|
||||||
var properties = new Dictionary<string, string> (verbosity);
|
var properties = new Dictionary<string, string> (verbosity);
|
||||||
|
|
|
@ -11,6 +11,7 @@ namespace Xamarin.Tests {
|
||||||
var configuration = "Debug";
|
var configuration = "Debug";
|
||||||
var runtimeIdentifiers = GetDefaultRuntimeIdentifier (platform);
|
var runtimeIdentifiers = GetDefaultRuntimeIdentifier (platform);
|
||||||
Configuration.IgnoreIfIgnoredPlatform (platform);
|
Configuration.IgnoreIfIgnoredPlatform (platform);
|
||||||
|
Configuration.AssertRuntimeIdentifiersAvailable (platform, runtimeIdentifiers);
|
||||||
|
|
||||||
var projectPath = GetProjectPath (project, platform: platform);
|
var projectPath = GetProjectPath (project, platform: platform);
|
||||||
Clean (projectPath);
|
Clean (projectPath);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче