Skip to content

Commit

Permalink
[Build] Tests: disabled some test that fail or are useless on Vulkan
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Jun 1, 2020
1 parent f1c78e8 commit ff8a906
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sources/engine/Stride.Audio.Tests/AudioTestGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Threading.Tasks;

using Stride.Graphics;
using Stride.Graphics.Regression;
using Xunit;

namespace Stride.Audio.Tests
{
Expand All @@ -12,5 +13,10 @@ namespace Stride.Audio.Tests
/// </summary>
public class AudioTestGame : GameTestBase
{
public AudioTestGame()
{
// No need to test audio for every graphics platform
RequireGraphicPlatform(GraphicsPlatform.Direct3D11);
}
}
}
2 changes: 2 additions & 0 deletions sources/engine/Stride.Particles.Tests/VisualTestSoftEdge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ private VisualTestSoftEdge(GraphicsProfile profile) : base("VisualTestSoftEdge",
[Fact]
public void RunVisualTests10()
{
Assert.False(GraphicsDevice.Platform == GraphicsPlatform.Vulkan, "Particle tests crash on Vulkan");
RunGameTest(new VisualTestSoftEdge(GraphicsProfile.Level_10_0));
}

[Fact]
public void RunVisualTests11()
{
Assert.False(GraphicsDevice.Platform == GraphicsPlatform.Vulkan, "Particle tests crash on Vulkan");
RunGameTest(new VisualTestSoftEdge(GraphicsProfile.Level_11_0));
}

Expand Down

0 comments on commit ff8a906

Please sign in to comment.