From 9bdb7643c9a98416a45f7dc9e2aa0fd4830a6481 Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Wed, 20 Sep 2017 22:19:57 -0400 Subject: [PATCH] [tests][monotouch] Fix GKAgent3D not to run before iOS 9 (#2733) --- tests/monotouch-test/GameplayKit/GKAgent3DTest.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/monotouch-test/GameplayKit/GKAgent3DTest.cs b/tests/monotouch-test/GameplayKit/GKAgent3DTest.cs index e20b39d8e2..95d40cac22 100644 --- a/tests/monotouch-test/GameplayKit/GKAgent3DTest.cs +++ b/tests/monotouch-test/GameplayKit/GKAgent3DTest.cs @@ -35,6 +35,13 @@ namespace MonoTouchFixtures.GamePlayKit [Preserve (AllMembers = true)] public class GKAgent3DTest { + [SetUp] + public void Setup () + { + if (!TestRuntime.CheckSystemAndSDKVersion (9, 0)) + Assert.Ignore ("Ignoring GameplayKit tests: Requires iOS9+"); + } + [Test] public void RotationTest () {