[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:
Родитель
88e3e258de
Коммит
ac6b1e0a1c
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче