[monotouch-test] Ignore MTLArgumentEncoderTest on older devices. (#18315)

The test fails on iOS 12.4, and works on iOS 16.5, so for now ignore if <iOS 13.0.
This commit is contained in:
Rolf Bjarne Kvinge 2023-05-24 16:58:49 +02:00 коммит произвёл GitHub
Родитель 88e3e258de
Коммит ac6b1e0a1c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -19,6 +19,11 @@ namespace MonoTouchFixtures.Metal {
[SetUp]
public void SetUp ()
{
// The call to CreateArgumentEncoder below doesn't seem to work
// on earlier versions of iOS (at least fails on iOS 12), so just
// skip those versions for now.
TestRuntime.AssertXcodeVersion (11, 0);
device = MTLDevice.SystemDefault;
// some older hardware won't have a default
if (device is null)