Skip to content

Commit 5215c11

Browse files
committed
Ignore flaky tests on player
1 parent 04a92ba commit 5215c11

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

Assets/InputExample/Tests/Runtime/FirstPersonControllerLegacyTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
namespace InputExample
1717
{
1818
[TestFixture]
19+
[UnityPlatform(RuntimePlatform.OSXEditor, RuntimePlatform.WindowsEditor, RuntimePlatform.LinuxEditor)]
1920
public class FirstPersonControllerLegacyTest
2021
{
2122
private const string SandboxScenePath = "Assets/InputExample/Tests/Scenes/InputExampleSandbox.unity";

Assets/InputSystemExample/Tests/Runtime/MonkeyTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ namespace InputSystemExample
2323
/// </summary>
2424
[TestFixture]
2525
[FocusGameView] // Note: 安定化のため、Gameビューにフォーカスを当てる(バッチモード実行ではGameビューを開く)
26+
[UnityPlatform(RuntimePlatform.OSXEditor, RuntimePlatform.WindowsEditor, RuntimePlatform.LinuxEditor)]
2627
public class MonkeyTest
2728
{
2829
private readonly InputTestFixture _input = new InputTestFixture();

Assets/UGUIExample/Tests/Runtime/MonkeyTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace UGUIExample
1717
/// </summary>
1818
/// <see href="https://github.com/nowsprinting/test-helper.monkey"/>
1919
[TestFixture]
20+
[UnityPlatform(RuntimePlatform.OSXEditor, RuntimePlatform.WindowsEditor, RuntimePlatform.LinuxEditor)]
2021
public class MonkeyTest
2122
{
2223
[Test]

0 commit comments

Comments
 (0)